MCPcopy Create free account
hub / github.com/Niko1221/Strata / check

Function check

engine/src/kernels/native_multi_parity.cpp:29–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27namespace {
28
29void check(cudaError_t e, const char* what) {
30 if (e != cudaSuccess) {
31 std::fprintf(stderr, "%s: %s\n", what, cudaGetErrorString(e));
32 std::exit(1);
33 }
34}
35
36template <typename T>
37T* up(const std::vector<T>& h) {

Callers 3

upFunction · 0.70
downFunction · 0.70
mainFunction · 0.70

Calls 2

exitFunction · 0.85
cudaGetErrorStringFunction · 0.50

Tested by

no test coverage detected