MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / getMinSupportedCompute

Function getMinSupportedCompute

src/backend/cuda/device_manager.cpp:203–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203static inline int getMinSupportedCompute(int cudaMajorVer) {
204 int CVSize = static_cast<int>(minSV.size());
205 return (cudaMajorVer > CVSize ? minSV[CVSize - 1]
206 : minSV[cudaMajorVer - 1]);
207}
208
209bool isEmbedded(pair<int, int> compute) {
210 int version = compute.first * 1000 + compute.second * 10;

Callers 1

DeviceManagerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected