[hip][tests] Add two more workgroup sizes for testing hipLaunchCooperativeKernel (#1613)

Этот коммит содержится в:
Aryan Salmanpour
2019-11-05 02:02:46 -05:00
коммит произвёл Maneesh Gupta
родитель 3b8a5cff2f
Коммит 7a3d592ed0
+2 -2
Просмотреть файл
@@ -108,11 +108,11 @@ int main() {
dim3 dimBlock = dim3(1);
dim3 dimGrid = dim3(1);
int numBlocks = 0;
uint workgroups[2] = {32, 64};
uint workgroups[4] = {32, 64, 128, 256};
system_clock::time_point start = system_clock::now();
for (uint i = 0; i < 2; ++i) {
for (uint i = 0; i < 4; ++i) {
dimBlock.x = workgroups[i];
// Calculate the device occupancy to know how many blocks can be run concurrently