Skip to content

Commit

Permalink
Reapply changes from NVIDIA#404 that were lost in conflict resolution.
Browse files Browse the repository at this point in the history
Fixes NVIDIA#510.
  • Loading branch information
alliepiper committed Jun 22, 2022
1 parent 92b501a commit febc53b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cub/util_device.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,9 @@ CUB_RUNTIME_FUNCTION inline cudaError_t PtxVersionUncached(int& ptx_version)

do
{
if (CubDebug(result = cudaFuncGetAttributes(&empty_kernel_attrs,
empty_kernel)))
if (CubDebug(result = cudaFuncGetAttributes(
&empty_kernel_attrs,
reinterpret_cast<void*>(empty_kernel))))
{
break;
}
Expand Down

0 comments on commit febc53b

Please sign in to comment.