Skip to content

Commit

Permalink
[oneDPL][make] + usage ONEAPI_DEVICE_SELECTOR variable
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeDvorskiy committed Dec 23, 2024
1 parent f758ae3 commit c81b4c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions make/Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ endif # !os_name

cfg ?= release

device_type ?= GPU
device_type ?= level_zero:gpu
use_unnamed_lambda ?= 0
ranges_api ?= 0

ifeq ($(backend), sycl)
ifeq ($(findstring FPGA, $(device_type)),)
export SYCL_DEVICE_FILTER=$(device_type)
export ONEAPI_DEVICE_SELECTOR=$(device_type)
endif
endif

Expand Down

0 comments on commit c81b4c1

Please sign in to comment.