MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / EnqueueBlockingCallback

Function EnqueueBlockingCallback

test/cpp/compat/c10_Stream_test.cc:46–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void EnqueueBlockingCallback(const c10::cuda::CUDAStream& stream,
47 StreamCallbackGate* gate) {
48 C10_CUDA_CHECK(hipStreamAddCallback(
49 stream.raw_stream(), BlockingStreamCallback, gate, 0));
50}
51
52void CreateRawStream(hipStream_t* stream) {
53 C10_CUDA_CHECK(hipStreamCreate(stream));

Callers 1

TESTFunction · 0.85

Calls 1

raw_streamMethod · 0.45

Tested by

no test coverage detected