MCPcopy Create free account
hub / github.com/brichard19/BitCrack / cudaCall

Method cudaCall

CudaKeySearchDevice/CudaKeySearchDevice.cpp:7–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include "AddressUtil.h"
6
7void CudaKeySearchDevice::cudaCall(cudaError_t err)
8{
9 if(err) {
10 std::string errStr = cudaGetErrorString(err);
11
12 throw KeySearchException(errStr);
13 }
14}
15
16CudaKeySearchDevice::CudaKeySearchDevice(int device, int threads, int pointsPerThread, int blocks)
17{

Callers

nothing calls this directly

Calls 1

KeySearchExceptionClass · 0.85

Tested by

no test coverage detected