Relax CUDA device requirement

This change removes the cudaDevAttrIntegrated check and only requires
pageable memory access. This change allows to run GPU accelerated
channel convolution on GH machines.
This commit is contained in:
Jaroslava Fiedlerova
2026-04-01 21:36:10 +02:00
parent 2578866451
commit 45d106f1c6
@@ -144,7 +144,7 @@ extern "C" void *cuda_channel_pipeline_init(int max_samples)
int integrated;
cudaDeviceGetAttribute(&pageable, cudaDevAttrPageableMemoryAccess, dev);
cudaDeviceGetAttribute(&integrated, cudaDevAttrIntegrated,dev);
if (!(pageable && integrated)) {
if (!(pageable)) {
return NULL;
}
CHECK_CUDA(cudaStreamCreate(&ctx->stream));