The static variable causes it only initialized once and take
the same value for different GPU archs, whereas they
may be different for different GPU archs, e.g. when
there are both gfx900 and gfx1010.
Removing static fixes that.
Differential D92628
[HIP] Fix bug in driver about wavefront size yaxunl on Dec 3 2020, 7:01 PM. Authored by
Details
The static variable causes it only initialized once and take Removing static fixes that.
Diff Detail
|