Fix signal resource issue.

Remove memory leak with new hc::completion_future.
Implement HIP_LAUNCH_BLOCKING with queue-level wait.

Change-Id: I45975f81c4d239fdeed7776970988d28449865dc


[ROCm/hip commit: 225e37fdc9]
This commit is contained in:
Ben Sander
2016-09-26 16:32:35 -05:00
parent 00f8a4f5a7
commit 0dadf681db
3 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -373,7 +373,7 @@ typedef uint64_t SeqNum_t ;
//---
// Member functions that begin with locked_ are thread-safe accessors - these acquire / release the critical mutex.
LockedAccessor_StreamCrit_t lockopen_preKernelCommand();
void lockclose_postKernelCommand(hc::completion_future &kernel_future);
void lockclose_postKernelCommand(hc::accelerator_view *av);
void locked_wait(bool assertQueueEmpty=false);