File tree Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 48
48
uses : ./.github/workflows/sycl_gen_test_matrix.yml
49
49
with :
50
50
ref : ${{ github.event.pull_request.head.sha }}
51
- lts_config : " hip_amdgpu;ocl_x64; lin_gen9;esimd_emu;cuda_aws;win_l0_gen12"
51
+ lts_config : " hip_amdgpu;lin_gen9;esimd_emu;cuda_aws;win_l0_gen12"
52
52
53
53
linux_default :
54
54
name : Linux
Original file line number Diff line number Diff line change 2
2
"lts" : [
3
3
{
4
4
"config" : " lin_gen9" ,
5
- "name" : " SYCL E2E on Intel GEN9 GPU" ,
5
+ "name" : " SYCL E2E on Intel CPU/ GEN9 GPU" ,
6
6
"runs-on" : [
7
7
" Linux" ,
8
8
" gen9"
9
9
],
10
10
"image" : " ${{ inputs.intel_drivers_image }}" ,
11
11
"container_options" : " -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN" ,
12
- "targets" : " ext_oneapi_level_zero:gpu;opencl:gpu" ,
12
+ "targets" : " ext_oneapi_level_zero:gpu;opencl:gpu;opencl:cpu " ,
13
13
"cmake_args" : " "
14
14
},
15
15
{
Original file line number Diff line number Diff line change 1
- // REQUIRES: cpu
1
+ // REQUIRES: opencl && cpu
2
2
// RUN: %{build} -o %t.out
3
3
//
4
- // RUN: env PRINT_DEVICE_INFO=1 %{run-unfiltered-devices} %t.out > %t1.conf
5
- // RUN: env TEST_DEVICE_AVAILABLE=1 env SYCL_CONFIG_FILE_NAME=%t1.conf %{run-unfiltered-devices} %t.out
4
+ // FIXME: Using ONEAPI_DEVICE_SELECTOR=\*:cpu results in seg. faults that I
5
+ // cannot reproduce under gdb.
6
+ // RUN: env PRINT_DEVICE_INFO=1 ONEAPI_DEVICE_SELECTOR=opencl:cpu %{run-unfiltered-devices} %t.out > %t1.conf
7
+ // RUN: env TEST_DEVICE_AVAILABLE=1 env SYCL_CONFIG_FILE_NAME=%t1.conf ONEAPI_DEVICE_SELECTOR=opencl:cpu %{run-unfiltered-devices} %t.out
6
8
//
7
- // RUN: env PRINT_PLATFORM_INFO=1 %{run-unfiltered-devices} %t.out > %t2.conf
8
- // RUN: env TEST_DEVICE_AVAILABLE=1 env SYCL_CONFIG_FILE_NAME=%t2.conf %{run-unfiltered-devices} %t.out
9
+ // RUN: env PRINT_PLATFORM_INFO=1 ONEAPI_DEVICE_SELECTOR=opencl:cpu %{run-unfiltered-devices} %t.out > %t2.conf
10
+ // RUN: env TEST_DEVICE_AVAILABLE=1 env SYCL_CONFIG_FILE_NAME=%t2.conf ONEAPI_DEVICE_SELECTOR=opencl:cpu %{run-unfiltered-devices} %t.out
9
11
//
10
- // RUN: env TEST_DEVICE_IS_NOT_AVAILABLE=1 env SYCL_DEVICE_ALLOWLIST="PlatformName:{{SUCH NAME DOESN'T EXIST}}" %{run-unfiltered-devices} %t.out
11
- // RUN: env TEST_INCORRECT_VALUE=1 env SYCL_DEVICE_ALLOWLIST="IncorrectKey:{{.*}}" %{run-unfiltered-devices} %t.out
12
+ // RUN: env TEST_DEVICE_IS_NOT_AVAILABLE=1 env SYCL_DEVICE_ALLOWLIST="PlatformName:{{SUCH NAME DOESN'T EXIST}}" ONEAPI_DEVICE_SELECTOR=opencl:cpu %{run-unfiltered-devices} %t.out
13
+ // RUN: env TEST_INCORRECT_VALUE=1 env SYCL_DEVICE_ALLOWLIST="IncorrectKey:{{.*}}" ONEAPI_DEVICE_SELECTOR=opencl:cpu %{run-unfiltered-devices} %t.out
12
14
13
15
#include < algorithm>
14
16
#include < cstdlib>
You can’t perform that action at this time.
0 commit comments