From 45d106f1c6ab950dc8b5bc5db35ac88cd4828376 Mon Sep 17 00:00:00 2001 From: Jaroslava Fiedlerova Date: Mon, 30 Mar 2026 19:15:40 +0000 Subject: [PATCH] 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. --- openair1/SIMULATION/TOOLS/channel_pipeline_v2.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openair1/SIMULATION/TOOLS/channel_pipeline_v2.cu b/openair1/SIMULATION/TOOLS/channel_pipeline_v2.cu index 5c270e670f..09fdcc1d5b 100644 --- a/openair1/SIMULATION/TOOLS/channel_pipeline_v2.cu +++ b/openair1/SIMULATION/TOOLS/channel_pipeline_v2.cu @@ -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));