Skip to content

Commit 98a7acb

Browse files
committed
[oneDPL][make] + usage ONEAPI_DEVICE_SELECTOR variable
1 parent 2171386 commit 98a7acb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

make/Makefile.common

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ endif # !os_name
4949

5050
cfg ?= release
5151

52-
device_type ?= GPU
52+
device_type ?= level_zero:gpu
5353
use_unnamed_lambda ?= 0
5454
ranges_api ?= 0
5555

5656
ifeq ($(backend), sycl)
5757
ifeq ($(findstring FPGA, $(device_type)),)
58-
export SYCL_DEVICE_FILTER=$(device_type)
58+
export ONEAPI_DEVICE_SELECTOR=$(device_type)
5959
endif
6060
endif
6161

0 commit comments

Comments
 (0)