Skip to content

Commit b781e6c

Browse files
authored
[SYCL][CUDA][HIP] Remove CUDA and HIP PI unit tests (#12459)
These tests are not currently running and are covered in other test suites: * `test_primary_context.cpp` * Deprecated feature, covered in `test-e2e/Basic/context.cpp` * `test_commands.cpp` * Covered by UR CTS * `test_sampler_properties.cpp` * Covered by UR CTS: https://github.com/oneapi-src/unified-runtime/tree/main/test/conformance/sampler * `PlatformTest.cpp` * Covered by UR CTS: https://github.com/oneapi-src/unified-runtime/blob/main/test/conformance/platform/urPlatformGetInfo.cpp * `test_device.cpp` * Covered by UR CTS: https://github.com/oneapi-src/unified-runtime/blob/main/test/conformance/device/urDeviceGetInfo.cpp * `EnqueueMemTest.cpp` * Covered by UR CTS: https://github.com/oneapi-src/unified-runtime/blob/main/test/conformance/enqueue/urEnqueueMemBufferFill.cpp * `test_mem_obj.cpp` * Moved to UR CTS * `test_contexts.cpp` * https://github.com/oneapi-src/unified-runtime/blob/main/test/adapters/cuda/context_tests.cpp * `test_kernels.cpp` * https://github.com/oneapi-src/unified-runtime/blob/main/test/adapters/cuda/kernel_tests.cpp * `test_base_objects.cpp` * Basic tests mostly covered in UR * `test_interop_get_native.cpp` * Mostly covered in UR tests and E2E tests After this both the CUDA and HIP directories could be removed. There are two PI tests remaining, one with regards to xpti handling of PI call arguments, and one regarding OpenCL interop ownership.
1 parent 015deb1 commit b781e6c

25 files changed

+0
-3352
lines changed

sycl/unittests/pi/CMakeLists.txt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
set(CMAKE_CXX_EXTENSIONS OFF)
22

33
add_sycl_unittest(PiTests OBJECT
4-
EnqueueMemTest.cpp
54
PiMock.cpp
6-
PlatformTest.cpp
75
PiUtility.cpp
86
pi_arguments_handler.cpp
97
piInteropRetain.cpp
@@ -13,11 +11,3 @@ add_dependencies(PiTests sycl)
1311
target_include_directories(PiTests PRIVATE SYSTEM ${sycl_inc_dir})
1412
target_include_directories(PiTests PRIVATE ${sycl_src_dir}/../tools/xpti_helpers)
1513

16-
if("cuda" IN_LIST SYCL_ENABLE_PLUGINS)
17-
add_subdirectory(cuda)
18-
endif()
19-
20-
if("hip" IN_LIST SYCL_ENABLE_PLUGINS)
21-
add_subdirectory(hip)
22-
endif()
23-

sycl/unittests/pi/EnqueueMemTest.cpp

Lines changed: 0 additions & 152 deletions
This file was deleted.

sycl/unittests/pi/PlatformTest.cpp

Lines changed: 0 additions & 113 deletions
This file was deleted.

sycl/unittests/pi/cuda/CMakeLists.txt

Lines changed: 0 additions & 32 deletions
This file was deleted.

sycl/unittests/pi/cuda/CudaUtils.hpp

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)