MCPcopy Create free account
hub / github.com/a2flo/floor / cuda_queue

Method cuda_queue

compute/cuda/cuda_queue.cpp:23–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21#if !defined(FLOOR_NO_CUDA)
22
23cuda_queue::cuda_queue(const compute_device& device_, const cu_stream queue_) : compute_queue(device_, QUEUE_TYPE::ALL), queue(queue_) {
24 CU_CALL_NO_ACTION(cu_event_create(&prof_start, CU_EVENT_FLAGS::BLOCKING_SYNC), "failed to create profiling event")
25 CU_CALL_NO_ACTION(cu_event_create(&prof_stop, CU_EVENT_FLAGS::BLOCKING_SYNC), "failed to create profiling event")
26}
27
28cuda_queue::~cuda_queue() {
29 if(prof_start != nullptr) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected