SWDEV-449487 Generate dimensions for multiproc count 2
Change-Id: I3728ff49f0b2c292d46307d689066af3f59b455f
This commit is contained in:
committed by
Rakesh Roy
orang tua
ca5e061bf6
melakukan
fead2adf5b
@@ -130,7 +130,7 @@ inline dim3 GenerateThreadDimensions() {
|
||||
inline dim3 GenerateBlockDimensions() {
|
||||
hipDeviceProp_t props;
|
||||
HIP_CHECK(hipGetDeviceProperties(&props, 0));
|
||||
const auto multipliers = {0.1, 0.5, 0.9, 1.0, 1.1, 1.5, 1.9, 2.0, 3.0, 4.0};
|
||||
const auto multipliers = {0.5, 0.9, 1.0, 1.1, 1.5, 1.9, 2.0, 3.0, 4.0};
|
||||
return GENERATE_COPY(dim3(1, 1, 1),
|
||||
map([sm = props.multiProcessorCount](
|
||||
double i) { return dim3(static_cast<int>(i * sm), 1, 1); },
|
||||
|
||||
Reference in New Issue
Block a user