| 178 | |
| 179 | |
| 180 | qindex 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 | |
| 191 | void clearGpuCache() { |
no test coverage detected