Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Remove test using nv::target::toint on device code paths on NVCC.
Browse files Browse the repository at this point in the history
  • Loading branch information
wmaxey committed Apr 28, 2021
1 parent 1f0d402 commit 1878594
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .upstream-tests/test/cuda/test_platform.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ __host__ __device__ void test() {
NV_IS_HOST, (),
NV_IS_DEVICE, (
static_assert(NV_TARGET_MINIMUM_SM_INTEGER == (__CUDA_ARCH__ / 10), "arch mismatch");
static_assert(nv::target::detail::toint(NV_TARGET_MINIMUM_SM_SELECTOR) == (__CUDA_ARCH__ / 10), "arch mismatch");
static_assert(__CUDA_MINIMUM_ARCH__ == __CUDA_ARCH__, "arch mismatch");
)
)
Expand Down

0 comments on commit 1878594

Please sign in to comment.