MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / release

Method release

extensions/include/cuMat/src/Context.h:457–464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

455 size_t* counter_;
456
457 void release()
458 {
459 if ((counter_) && (--(*counter_) == 0))
460 {
461 delete counter_;
462 CUMAT_SAFE_CALL(cudaEventDestroy(event_));
463 }
464 }
465
466public:
467 Event()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected