Skip to content

Commit ad55c29

Browse files
committed
Merge branch 'depr_codeplay_test' into depr_codeplay_host_task
2 parents 048dfb1 + 7baf62d commit ad55c29

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sycl/unittests/pi/cuda/test_interop_get_native.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ TEST_P(CudaInteropGetNativeTests, hostTaskGetNativeMem) {
8888
buffer<int, 1> syclBuffer(range<1>{1});
8989
syclQueue_->submit([&](handler &cgh) {
9090
auto syclAccessor = syclBuffer.get_access<access::mode::read>(cgh);
91-
cgh.codeplay_host_task([=](interop_handle ih) {
91+
cgh.host_task([=](interop_handle ih) {
9292
CUdeviceptr cudaPtr = ih.get_native_mem<backend::cuda>(syclAccessor);
9393
CUdeviceptr cudaPtrBase;
9494
size_t cudaPtrSize = 0;
@@ -106,7 +106,7 @@ TEST_P(CudaInteropGetNativeTests, hostTaskGetNativeMem) {
106106
TEST_P(CudaInteropGetNativeTests, hostTaskGetNativeQueue) {
107107
CUstream cudaStream = get_native<backend::cuda>(*syclQueue_);
108108
syclQueue_->submit([&](handler &cgh) {
109-
cgh.codeplay_host_task([=](interop_handle ih) {
109+
cgh.host_task([=](interop_handle ih) {
110110
CUstream cudaInteropStream = ih.get_native_queue<backend::cuda>();
111111
ASSERT_EQ(cudaInteropStream, cudaStream);
112112
});
@@ -116,7 +116,7 @@ TEST_P(CudaInteropGetNativeTests, hostTaskGetNativeQueue) {
116116
TEST_P(CudaInteropGetNativeTests, hostTaskGetNativeContext) {
117117
CUcontext cudaContext = get_native<backend::cuda>(syclQueue_->get_context());
118118
syclQueue_->submit([&](handler &cgh) {
119-
cgh.codeplay_host_task([=](interop_handle ih) {
119+
cgh.host_task([=](interop_handle ih) {
120120
CUcontext cudaInteropContext = ih.get_native_context<backend::cuda>();
121121
ASSERT_EQ(cudaInteropContext, cudaContext);
122122
});

sycl/unittests/scheduler/InOrderQueueHostTaskDeps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ TEST_F(SchedulerTest, InOrderQueueHostTaskDeps) {
106106
InOrderQueue
107107
.submit([&](sycl::handler &CGH) {
108108
CGH.use_kernel_bundle(ExecBundle);
109-
CGH.codeplay_host_task([=] {});
109+
CGH.host_task([=] {});
110110
})
111111
.wait();
112112

0 commit comments

Comments
 (0)