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

Method cuda_queue

src/device/cuda/cuda_queue.cpp:27–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25namespace fl {
26
27cuda_queue::cuda_queue(const device& dev_, const cu_stream queue_) : device_queue(dev_, QUEUE_TYPE::ALL), queue(queue_) {
28 CU_CALL_NO_ACTION(cu_event_create(&prof_start, CU_EVENT_FLAGS::BLOCKING_SYNC), "failed to create profiling event")
29 CU_CALL_NO_ACTION(cu_event_create(&prof_stop, CU_EVENT_FLAGS::BLOCKING_SYNC), "failed to create profiling event")
30}
31
32cuda_queue::~cuda_queue() {
33 if(prof_start != nullptr) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected