SWDEV-193956 - [hipclang-vdi-rocm][perf]

~45% to 50% of Performance drop on rocBLAS_int8 test

Enable cudaSetDeviceFlags() api call. Use active wait by default
for all devices.

Change-Id: Ifc2ebe3dd9b0aa3fdbfbc9cb5c2cd8b3b726124f


[ROCm/hip commit: fe1fad4805]
This commit is contained in:
German Andryeyev
2020-03-02 18:35:56 -05:00
parent e28e857f52
commit 5af52cba15
2 changed files with 26 additions and 5 deletions
+3
View File
@@ -50,6 +50,9 @@ void init() {
amd::Context* context = new amd::Context(device, amd::Context::Info());
if (!context) return;
// Enable active wait on the device by default
devices[i]->SetActiveWait(true);
if (context && CL_SUCCESS != context->create(nullptr)) {
context->release();
} else {