MCPcopy 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

24int g_fail = 0;
25
26void 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
33template <typename T>
34T* dalloc(size_t n) {

Callers 4

dallocFunction · 0.70
upFunction · 0.70
downFunction · 0.70
mainFunction · 0.70

Calls 2

exitFunction · 0.85
cudaGetErrorStringFunction · 0.50

Tested by

no test coverage detected