Commit 45d106f1 authored by Jaroslava Fiedlerova's avatar Jaroslava Fiedlerova

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.
parent 25788664
......@@ -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));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment