MCPcopy Create free account
hub / github.com/QuEST-Kit/QuEST / getGpuCacheSize

Function getGpuCacheSize

quest/src/api/debug.cpp:180–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178
179
180qindex getGpuCacheSize() {
181 validate_envIsInit(__func__);
182
183 if (getQuESTEnv().isGpuAccelerated)
184 return gpu_getCacheMemoryInBytes();
185
186 // safely returns 0 if not GPU accelerated
187 return 0;
188}
189
190
191void clearGpuCache() {

Callers 1

SECTIONFunction · 0.85

Calls 3

validate_envIsInitFunction · 0.85
getQuESTEnvFunction · 0.85

Tested by

no test coverage detected