P4 to Git Change 1602601 by skudchad@skudchad_test2_win_opencl on 2018/09/06 15:01:00
SWDEV-145570 - [HIP] Implement hipStreamAddCallback and hipStreamQuery ReviewBoardURL = http://ocltc.amd.com/reviews/r/15749/diff/ Affected files ... ... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#13 edit ... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.cpp#27 edit ... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.hpp#19 edit ... //depot/stg/opencl/drivers/opencl/runtime/utils/concurrent.hpp#9 edit
This commit is contained in:
@@ -196,6 +196,9 @@ class HostQueue : public CommandQueue {
|
||||
//! Finish all queued commands
|
||||
void finish();
|
||||
|
||||
//! Check if hostQueue empty snapshot
|
||||
bool isEmpty();
|
||||
|
||||
//! Get virtual device for the current command queue
|
||||
device::VirtualDevice* vdev() const { return thread_.vdev(); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user