P4 to Git Change 1555193 by cpaquot@cpaquot-ocl-lc-lnx on 2018/05/15 16:19:50
SWDEV-145570 - [HIP] Implemented events
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#9 edit
[ROCm/clr commit: a896cb9af0]
Ta zmiana jest zawarta w:
%! (template.HTML=
foreman)złożyło 2018-05-15 16:26:16 -04:00
1 rodzic
d44b3dc620
złożenie
6453962807
5 plików zmienionych
+187
-43
Żadne pliki nie pasują do Twojego wyszukiwania
@@ -146,8 +146,10 @@ hipError_t hipModuleLaunchKernel(hipFunction_t f,
|
||||
|
||||
amd::HostQueue* queue;
|
||||
if (hStream == nullptr) {
|
||||
hip::syncStreams();
|
||||
queue = hip::getNullStream();
|
||||
} else {
|
||||
hip::getNullStream()->finish();
|
||||
queue = as_amd(reinterpret_cast<cl_command_queue>(hStream))->asHostQueue();
|
||||
}
|
||||
if (!queue) {
|
||||
@@ -195,7 +197,6 @@ hipError_t hipModuleLaunchKernel(hipFunction_t f,
|
||||
}
|
||||
|
||||
command->enqueue();
|
||||
command->awaitCompletion();
|
||||
command->release();
|
||||
|
||||
return hipSuccess;
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika