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

Function isEmbedded

src/backend/cuda/device_manager.cpp:209–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209bool isEmbedded(pair<int, int> compute) {
210 int version = compute.first * 1000 + compute.second * 10;
211 return end(jetsonComputeCapabilities) !=
212 find(begin(jetsonComputeCapabilities),
213 end(jetsonComputeCapabilities), version);
214}
215
216bool checkDeviceWithRuntime(int runtime, pair<int, int> compute) {
217 auto rt = find_if(

Callers 1

checkAndSetDevMaxComputeFunction · 0.85

Calls 3

endFunction · 0.85
findFunction · 0.85
beginFunction · 0.85

Tested by

no test coverage detected