From a6159384a16dd8d9f0a9663b18777d652b462abe Mon Sep 17 00:00:00 2001 From: "Wen-Heng (Jack) Chung" Date: Fri, 15 Sep 2017 15:47:39 +0000 Subject: [PATCH] Bump device major version from 2 to 3 This would significantly improve performance for certain apps in kernel selection logic. [ROCm/clr commit: 1efc99e69fe161011a7e2238e1bd3b8de4d2be33] --- projects/clr/hipamd/src/hip_hcc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/clr/hipamd/src/hip_hcc.cpp b/projects/clr/hipamd/src/hip_hcc.cpp index 445e74cbeb..2c98ac804f 100644 --- a/projects/clr/hipamd/src/hip_hcc.cpp +++ b/projects/clr/hipamd/src/hip_hcc.cpp @@ -824,7 +824,7 @@ hipError_t ihipDevice_t::initProperties(hipDeviceProp_t* prop) // Masquerade as a 3.0-level device. This will change as more HW functions are properly supported. // Application code should use the arch.has* to do detailed feature detection. - prop->major = 2; + prop->major = 3; prop->minor = 0; // Get number of Compute Unit