Skip to content

Commit

Permalink
Correct nvcc 12.4 compile errors with tests
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmaynard committed Oct 28, 2024
1 parent 38da65b commit 8099966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/prefetch_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ struct PrefetchTest : public ::testing::Test {
// https://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__MEMORY.html#group__CUDART__MEMORY_1g8048f6ea5ad77917444567656c140c5a
// specifically for when cudaMemRangeAttribute::cudaMemRangeAttributeLastPrefetchLocation is
// used.
constexpr size_t prefetch_data_size = 4;
[[maybe_unused]] constexpr size_t prefetch_data_size = 4;
if constexpr (std::is_same_v<MemoryResourceType, rmm::mr::managed_memory_resource>) {
int prefetch_location{0};
RMM_CUDA_TRY(
Expand Down

0 comments on commit 8099966

Please sign in to comment.