Lines Matching refs:getCUError

41 static Status getCUError(CUresult Result, const std::string &Message) {  in getCUError()  function
153 return getCUError(cuCtxSetCurrent(TheContexts[DeviceIndex]), in setContext()
164 return getCUError(Result, "cuInit"); in create()
168 return getCUError(Result, "cuDeviceGetCount"); in create()
173 return getCUError(Result, "cuDeviceGet"); in create()
176 return getCUError(Result, "cuDevicePrimaryCtxRetain"); in create()
178 return getCUError(Result, "cuCtxSetCurrent"); in create()
188 return getCUError(Result, "cuDeviceGetCount"); in getDeviceCount()
204 return getCUError(Result, "cuStreamCreate"); in createStream()
209 return getCUError(cuStreamSynchronize(static_cast<CUstream_st *>(Stream)), in streamSync()
216 return getCUError(cuStreamWaitEvent(static_cast<CUstream_st *>(Stream), in streamWaitOnEvent()
232 return getCUError(Result, "cuEventCreate"); in createEvent()
237 return getCUError(cuEventRecord(static_cast<CUevent_st *>(Event), in enqueueEvent()
247 return getCUError(cuEventSynchronize(static_cast<CUevent_st *>(Event)), in eventSync()
257 return getCUError(Result, "cuEventElapsedTime"); in getSecondsBetweenEvents()
270 return getCUError(Result, "cuMemAlloc"); in rawMallocD()
324 return getCUError( in rawRegisterHostMem()
341 return getCUError(Result, "cuMemHostAlloc"); in rawMallocRegisteredH()
358 return getCUError( in asyncCopyDToD()
370 return getCUError( in asyncCopyDToH()
380 return getCUError( in asyncCopyHToD()
390 return getCUError( in asyncMemsetD()
412 getCUError(Status, "stream callback error state")); in cuStreamCallbackShim()
421 return getCUError(cuStreamAddCallback(Stream, cuStreamCallbackShim, in addStreamCallback()
467 return getCUError(Result, "cuModuleGetFunction"); in rawCreateKernel()
482 return getCUError( in rawEnqueueKernelLaunch()