Skip to content

Commit

Permalink
fix nvrtc test
Browse files Browse the repository at this point in the history
  • Loading branch information
fbusato committed Jan 2, 2025
1 parent cdc2af8 commit 903aab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcudacxx/test/libcudacxx/cuda/ptx/manual/bfind_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
__global__ void test_bfind(void** fn_ptr)
{
#if __cccl_ptx_isa >= 200
auto to_void = [](auto type, auto x) {
auto to_void = [] __device__(auto type, auto x) {
using T = decltype(type);
return reinterpret_cast<void*>(static_cast<uint32_t (*)(T, cuda::ptx::bfind_shift_amount)>(x));
};
Expand Down

0 comments on commit 903aab6

Please sign in to comment.