Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ getMultiProcessorCount
Function
getMultiProcessorCount
src/backend/cuda/platform.cpp:434–436 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
432
}
433
434
unsigned getMultiProcessorCount(const int device) {
435
return getDeviceProp(device).multiProcessorCount;
436
}
437
438
unsigned getMaxParallelThreads(const int device) {
439
const cudaDeviceProp &prop{getDeviceProp(device)};
Callers
1
genBlocks
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected