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
Cette révision appartient à :
1 Parent
5b14ab34f5
révision
fe1fad4805
2 fichiers modifiés
+26
-5
Aucun fichier ne correspond à votre recherche
@@ -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 {
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur