Skip to content

Commit

Permalink
fixing the name of kernel called in cuda test (#824)
Browse files Browse the repository at this point in the history
Fixed typo in kernel name
  • Loading branch information
kab163 authored Jun 13, 2023
1 parent dc48abb commit 757a8ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/device_allocator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ TEST_P(DeviceAllocator, LaunchKernelTest)
}

#if defined(UMPIRE_ENABLE_CUDA)
tester<<<1, 16>>>(data_ptr, str_index);
tester_by_name<<<1, 16>>>(data_ptr, str_index);
cudaDeviceSynchronize();
#elif defined(UMPIRE_ENABLE_HIP)
hipLaunchKernelGGL(tester_by_name, dim3(1), dim3(16), 0, 0, data_ptr, str_index);
Expand All @@ -95,7 +95,7 @@ TEST_P(DeviceAllocator, LaunchKernelTest)
ASSERT_EQ(my_da.getCurrentSize(), 0);

#if defined(UMPIRE_ENABLE_CUDA)
tester<<<1, 16>>>(data_ptr, str_index);
tester_by_ID<<<1, 16>>>(data_ptr, str_index);
cudaDeviceSynchronize();
#elif defined(UMPIRE_ENABLE_HIP)
hipLaunchKernelGGL(tester_by_ID, dim3(1), dim3(16), 0, 0, data_ptr, my_da.getID());
Expand Down

0 comments on commit 757a8ec

Please sign in to comment.