Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Niko1221/Strata
/ ck
Function
ck
engine/src/kernels/cvec_parity.cpp:26–31 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
24
int g_fail = 0;
25
26
void ck(cudaError_t e, const char* w) {
27
if (e != cudaSuccess) {
28
std::fprintf(stderr,
"CUDA error in %s: %s\n"
, w, cudaGetErrorString(e));
29
std::exit(2);
30
}
31
}
32
33
template <typename T>
34
T* dalloc(size_t n) {
Callers
4
dalloc
Function · 0.70
up
Function · 0.70
down
Function · 0.70
main
Function · 0.70
Calls
2
exit
Function · 0.85
cudaGetErrorString
Function · 0.50
Tested by
no test coverage detected