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 Jan 14, 2025
1 parent a1aaf97 commit c1ff14b
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 c1ff14b

Please sign in to comment.