| 290 | |
| 291 | |
| 292 | bool gpu_doesGpuSupportMemPools() { |
| 293 | #if COMPILE_CUDA |
| 294 | assert_gpuHasBeenBound(hasGpuBeenBound); |
| 295 | |
| 296 | int supports; |
| 297 | CUDA_CHECK( cudaDeviceGetAttribute(&supports, cudaDevAttrMemoryPoolsSupported, getBoundGpuId()) ); |
| 298 | return (bool) supports; |
| 299 | |
| 300 | #else |
| 301 | error_gpuQueriedButGpuNotCompiled(); |
| 302 | return false; |
| 303 | #endif |
| 304 | } |
| 305 | |
| 306 | |
| 307 | qindex gpu_getMaxNumConcurrentThreads() { |
no test coverage detected