SWDEV-449487 Generate dimensions for multiproc count 2

Change-Id: I3728ff49f0b2c292d46307d689066af3f59b455f
이 커밋은 다음에 포함됨:
Rahul Manocha 작성하고 Rakesh Roy가 2024-04-18 06:22:23 -04:00를 커밋함
1 부모 ca5e061bf6
커밋 fead2adf5b
1 파일이 변경됨
+1 -1
+1 -1
파일 보기
@@ -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); },