Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuEST-Kit/QuEST
/ assert_quregIsGpuAccelerated
Function
assert_quregIsGpuAccelerated
quest/src/core/errors.cpp:643–647 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
641
}
642
643
void assert_quregIsGpuAccelerated(Qureg qureg) {
644
645
if (!qureg.isGpuAccelerated)
646
error_gpuCopyButQuregNotGpuAccelerated();
647
}
648
649
void assert_gpuIsAccessible() {
650
Callers
2
gpu_copyCpuToGpu
Function · 0.85
gpu_copyGpuToCpu
Function · 0.85
Calls
1
error_gpuCopyButQuregNotGpuAccelerated
Function · 0.85
Tested by
no test coverage detected