Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,7 @@ class cuda_async_view_memory_resource final : public device_memory_resource {
}()}
{
// Check if cudaMallocAsync Memory pool supported
auto const device = rmm::get_current_cuda_device();
int cuda_pool_supported{};
auto result =
cudaDeviceGetAttribute(&cuda_pool_supported, cudaDevAttrMemoryPoolsSupported, device.value());
RMM_EXPECTS(result == cudaSuccess && cuda_pool_supported,
RMM_EXPECTS(rmm::detail::runtime_async_alloc::is_supported(),
"cudaMallocAsync not supported with this CUDA driver/runtime version");
}

Expand Down