Bump device major version from 2 to 3

This would significantly improve performance for certain apps in kernel
selection logic.


[ROCm/hip commit: c74d3fe2cb]
Αυτή η υποβολή περιλαμβάνεται σε:
Wen-Heng (Jack) Chung
2017-09-15 15:47:39 +00:00
γονέας ab4128a53f
υποβολή 9c0dfd3538
@@ -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