Skip to content

Commit 9ec2e8d

Browse files
Fix cuda::device::current_arch_id (#7586) (#7602)
(cherry picked from commit 057fac8) Co-authored-by: David Bayer <48736217+davebayer@users.noreply.github.com>
1 parent 2b0e83d commit 9ec2e8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcudacxx/include/cuda/__device/arch_id.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ template <class _Dummy = void>
196196
{
197197
# if _CCCL_CUDA_COMPILER(NVHPC)
198198
const auto __cc = ::cuda::device::current_compute_capability();
199-
if (::cuda::__is_known_arch_of(__cc))
199+
if (::cuda::__has_known_arch(__cc))
200200
{
201201
return ::cuda::to_arch_id(__cc);
202202
}

0 commit comments

Comments
 (0)