Add missing cq() getter

This commit is contained in:
Richard Berger
2021-02-23 11:26:07 -05:00
parent 446a068159
commit 2a0b7a26c0

View File

@ -69,6 +69,9 @@ class UCL_Program {
return _device_ptr->load_module(program, _module, log);
}
/// Return the default command queue/stream associated with this data
inline hipStream_t & cq() { return _cq; }
friend class UCL_Kernel;
private:
hipModule_t _module;