Skip to content

Commit 858225a

Browse files
authored
Merge pull request #1262 from martygrant/martin/nativecpuCI
[CI] Add CI config for Native CPU
2 parents 73d85ef + 506a230 commit 858225a

14 files changed

+265
-1
lines changed

.github/workflows/cmake.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ jobs:
169169
{name: CUDA, platform: ""},
170170
{name: HIP, platform: ""},
171171
{name: L0, platform: ""},
172-
{name: OPENCL, platform: "Intel(R) OpenCL"}
172+
{name: OPENCL, platform: "Intel(R) OpenCL"},
173+
{name: NATIVE_CPU, platform: ""}
173174
]
174175
build_type: [Debug, Release]
175176
compiler: [{c: gcc, cxx: g++}, {c: clang, cxx: clang++}]
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
urAdapterGetLastErrorTest.Success
2+
urAdapterGetLastErrorTest.InvalidHandle
3+
urAdapterGetLastErrorTest.InvalidMessagePtr
4+
urAdapterGetLastErrorTest.InvalidErrorPtr
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
urContextReleaseTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU_
2+
urContextRetainTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU_
3+
urContextSetExtendedDeleterTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU_
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{{OPT}}urDeviceGetGlobalTimestampTest.SuccessSynchronizedTime
2+
{{OPT}}urDeviceSelectBinaryTest.Success
3+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_DEVICE_ID
4+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_MEMORY_CLOCK_RATE
5+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_MAX_READ_WRITE_IMAGE_ARGS
6+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_GLOBAL_MEM_FREE
7+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_QUEUE_ON_DEVICE_PROPERTIES
8+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_QUEUE_ON_HOST_PROPERTIES
9+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_IL_VERSION
10+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_MAX_NUM_SUB_GROUPS
11+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS
12+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_USM_HOST_SUPPORT
13+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_USM_DEVICE_SUPPORT
14+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_USM_SINGLE_SHARED_SUPPORT
15+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_USM_CROSS_SHARED_SUPPORT
16+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_USM_SYSTEM_SHARED_SUPPORT
17+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_UUID
18+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_PCI_ADDRESS
19+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_GPU_EU_COUNT
20+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_GPU_EU_SIMD_WIDTH
21+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_GPU_EU_SLICES
22+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_GPU_EU_COUNT_PER_SUBSLICE
23+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_GPU_SUBSLICES_PER_SLICE
24+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_GPU_HW_THREADS_PER_EU
25+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_MAX_MEMORY_BANDWIDTH
26+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_MAX_COMPUTE_QUEUE_INDICES
27+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_MEMORY_BUS_WIDTH
28+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_MAX_WORK_GROUPS_3D
29+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_ASYNC_BARRIER
30+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_HOST_PIPE_READ_WRITE_SUPPORTED
31+
urDeviceGetInfoTest.Success/UR_DEVICE_INFO_MAX_REGISTERS_PER_WORK_GROUP
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{OPT}}{{Segmentation fault|Aborted}}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
urEventGetInfoTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_EVENT_INFO_COMMAND_QUEUE
2+
urEventGetInfoTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_EVENT_INFO_CONTEXT
3+
urEventGetInfoTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_EVENT_INFO_COMMAND_TYPE
4+
urEventGetInfoTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_EVENT_INFO_COMMAND_EXECUTION_STATUS
5+
urEventGetInfoTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_EVENT_INFO_REFERENCE_COUNT
6+
urEventGetInfoNegativeTest.InvalidNullHandle/SYCL_NATIVE_CPU___SYCL_Native_CPU_
7+
urEventGetInfoNegativeTest.InvalidEnumeration/SYCL_NATIVE_CPU___SYCL_Native_CPU_
8+
urEventGetInfoNegativeTest.InvalidSizePropSize/SYCL_NATIVE_CPU___SYCL_Native_CPU_
9+
urEventGetInfoNegativeTest.InvalidSizePropSizeSmall/SYCL_NATIVE_CPU___SYCL_Native_CPU_
10+
urEventGetInfoNegativeTest.InvalidNullPointerPropValue/SYCL_NATIVE_CPU___SYCL_Native_CPU_
11+
urEventGetInfoNegativeTest.InvalidNullPointerPropSizeRet/SYCL_NATIVE_CPU___SYCL_Native_CPU_
12+
urEventGetProfilingInfoTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_PROFILING_INFO_COMMAND_QUEUED
13+
urEventGetProfilingInfoTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_PROFILING_INFO_COMMAND_SUBMIT
14+
urEventGetProfilingInfoTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_PROFILING_INFO_COMMAND_START
15+
urEventGetProfilingInfoTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_PROFILING_INFO_COMMAND_END
16+
urEventGetProfilingInfoNegativeTest.InvalidNullHandle/SYCL_NATIVE_CPU___SYCL_Native_CPU_
17+
urEventGetProfilingInfoNegativeTest.InvalidEnumeration/SYCL_NATIVE_CPU___SYCL_Native_CPU_
18+
urEventGetProfilingInfoNegativeTest.InvalidValue/SYCL_NATIVE_CPU___SYCL_Native_CPU_
19+
urEventWaitTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU_
20+
urEventRetainTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU_
21+
urEventReleaseTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU_
22+
urEventGetNativeHandleTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU_
23+
urEventGetNativeHandleTest.InvalidNullPointerNativeEvent/SYCL_NATIVE_CPU___SYCL_Native_CPU_
24+
urEventSetCallbackTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU_
25+
urEventSetCallbackTest.ValidateParameters/SYCL_NATIVE_CPU___SYCL_Native_CPU_
26+
urEventSetCallbackTest.AllStates/SYCL_NATIVE_CPU___SYCL_Native_CPU_
27+
urEventSetCallbackTest.EventAlreadyCompleted/SYCL_NATIVE_CPU___SYCL_Native_CPU_
28+
urEventSetCallbackNegativeTest.InvalidNullPointerCallback/SYCL_NATIVE_CPU___SYCL_Native_CPU_
29+
urEventSetCallbackNegativeTest.InvalidEnumeration/SYCL_NATIVE_CPU___SYCL_Native_CPU_
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{OPT}}{{Segmentation fault|Aborted}}
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
urMemBufferPartitionTest.InvalidBufferSize/SYCL_NATIVE_CPU___SYCL_Native_CPU_
2+
urMemBufferPartitionTest.InvalidValueCreateType/SYCL_NATIVE_CPU___SYCL_Native_CPU_
3+
urMemBufferPartitionTest.InvalidValueBufferCreateInfoOutOfBounds/SYCL_NATIVE_CPU___SYCL_Native_CPU_
4+
urMemGetInfoTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_MEM_INFO_SIZE
5+
urMemGetInfoTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_MEM_INFO_CONTEXT
6+
urMemGetInfoTest.InvalidSizeSmall/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_MEM_INFO_SIZE
7+
urMemGetInfoTest.InvalidSizeSmall/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_MEM_INFO_CONTEXT
8+
urMemGetInfoImageTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_MEM_INFO_SIZE
9+
urMemGetInfoImageTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_MEM_INFO_CONTEXT
10+
urMemImageCreateTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU_
11+
urMemImageCreateTest.InvalidSize/SYCL_NATIVE_CPU___SYCL_Native_CPU_
12+
urMemImageCreateTest.InvalidImageDescStype/SYCL_NATIVE_CPU___SYCL_Native_CPU_
13+
urMemImageCreateTest.InvalidImageDescNumMipLevel/SYCL_NATIVE_CPU___SYCL_Native_CPU_
14+
urMemImageCreateTest.InvalidImageDescNumSamples/SYCL_NATIVE_CPU___SYCL_Native_CPU_
15+
urMemImageCreateTest.InvalidImageDescRowPitch/SYCL_NATIVE_CPU___SYCL_Native_CPU_
16+
urMemImageCreateTest.InvalidImageDescSlicePitch/SYCL_NATIVE_CPU___SYCL_Native_CPU_
17+
urMemImageGetInfoTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_FORMAT
18+
urMemImageGetInfoTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_ELEMENT_SIZE
19+
urMemImageGetInfoTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_ROW_PITCH
20+
urMemImageGetInfoTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_SLICE_PITCH
21+
urMemImageGetInfoTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_WIDTH
22+
urMemImageGetInfoTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_HEIGHT
23+
urMemImageGetInfoTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_DEPTH
24+
urMemImageGetInfoTest.InvalidNullHandleImage/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_FORMAT
25+
urMemImageGetInfoTest.InvalidNullHandleImage/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_ELEMENT_SIZE
26+
urMemImageGetInfoTest.InvalidNullHandleImage/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_ROW_PITCH
27+
urMemImageGetInfoTest.InvalidNullHandleImage/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_SLICE_PITCH
28+
urMemImageGetInfoTest.InvalidNullHandleImage/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_WIDTH
29+
urMemImageGetInfoTest.InvalidNullHandleImage/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_HEIGHT
30+
urMemImageGetInfoTest.InvalidNullHandleImage/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_DEPTH
31+
urMemImageGetInfoTest.InvalidEnumerationImageInfoType/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_FORMAT
32+
urMemImageGetInfoTest.InvalidEnumerationImageInfoType/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_ELEMENT_SIZE
33+
urMemImageGetInfoTest.InvalidEnumerationImageInfoType/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_ROW_PITCH
34+
urMemImageGetInfoTest.InvalidEnumerationImageInfoType/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_SLICE_PITCH
35+
urMemImageGetInfoTest.InvalidEnumerationImageInfoType/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_WIDTH
36+
urMemImageGetInfoTest.InvalidEnumerationImageInfoType/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_HEIGHT
37+
urMemImageGetInfoTest.InvalidEnumerationImageInfoType/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_DEPTH
38+
urMemImageGetInfoTest.InvalidSizeZero/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_FORMAT
39+
urMemImageGetInfoTest.InvalidSizeZero/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_ELEMENT_SIZE
40+
urMemImageGetInfoTest.InvalidSizeZero/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_ROW_PITCH
41+
urMemImageGetInfoTest.InvalidSizeZero/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_SLICE_PITCH
42+
urMemImageGetInfoTest.InvalidSizeZero/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_WIDTH
43+
urMemImageGetInfoTest.InvalidSizeZero/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_HEIGHT
44+
urMemImageGetInfoTest.InvalidSizeZero/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_DEPTH
45+
urMemImageGetInfoTest.InvalidSizeSmall/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_FORMAT
46+
urMemImageGetInfoTest.InvalidSizeSmall/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_ELEMENT_SIZE
47+
urMemImageGetInfoTest.InvalidSizeSmall/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_ROW_PITCH
48+
urMemImageGetInfoTest.InvalidSizeSmall/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_SLICE_PITCH
49+
urMemImageGetInfoTest.InvalidSizeSmall/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_WIDTH
50+
urMemImageGetInfoTest.InvalidSizeSmall/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_HEIGHT
51+
urMemImageGetInfoTest.InvalidSizeSmall/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_DEPTH
52+
urMemImageGetInfoTest.InvalidNullPointerParamValue/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_FORMAT
53+
urMemImageGetInfoTest.InvalidNullPointerParamValue/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_ELEMENT_SIZE
54+
urMemImageGetInfoTest.InvalidNullPointerParamValue/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_ROW_PITCH
55+
urMemImageGetInfoTest.InvalidNullPointerParamValue/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_SLICE_PITCH
56+
urMemImageGetInfoTest.InvalidNullPointerParamValue/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_WIDTH
57+
urMemImageGetInfoTest.InvalidNullPointerParamValue/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_HEIGHT
58+
urMemImageGetInfoTest.InvalidNullPointerParamValue/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_DEPTH
59+
urMemImageGetInfoTest.InvalidNullPointerPropSizeRet/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_FORMAT
60+
urMemImageGetInfoTest.InvalidNullPointerPropSizeRet/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_ELEMENT_SIZE
61+
urMemImageGetInfoTest.InvalidNullPointerPropSizeRet/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_ROW_PITCH
62+
urMemImageGetInfoTest.InvalidNullPointerPropSizeRet/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_SLICE_PITCH
63+
urMemImageGetInfoTest.InvalidNullPointerPropSizeRet/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_WIDTH
64+
urMemImageGetInfoTest.InvalidNullPointerPropSizeRet/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_HEIGHT
65+
urMemImageGetInfoTest.InvalidNullPointerPropSizeRet/SYCL_NATIVE_CPU___SYCL_Native_CPU___UR_IMAGE_INFO_DEPTH
66+
urMemReleaseTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU_
67+
urMemRetainTest.Success/SYCL_NATIVE_CPU___SYCL_Native_CPU_
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
urPlatfromGetBackendOptionTest.InvalidValueFrontendOption
2+
urPlatfromGetBackendOptionTestWithParam.Success/_O0
3+
urPlatfromGetBackendOptionTestWithParam.Success/_O1
4+
urPlatfromGetBackendOptionTestWithParam.Success/_O2
5+
urPlatfromGetBackendOptionTestWithParam.Success/_O3
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{OPT}}{{Segmentation fault|Aborted}}

0 commit comments

Comments
 (0)