Merge branch 'master' into amd-master-next

Change-Id: Ib7e7824073f4dfc391fb3833fc90e11b327d3c22
Este cometimento está contido em:
Laurent Morichetti cometeu 2020-02-05 14:56:08 -08:00
2 ascendentes b57d64c22e 48d1f766d5
cometimento 258adce78e
34 ficheiros modificados
+667 -919

Não existem ficheiros que correspondam à sua pesquisa

+7 -2
Ver ficheiro
@@ -30,7 +30,12 @@ THE SOFTWARE.
__global__ void run_printf() { printf("Hello World\n"); }
int main() {
hipLaunchKernelGGL(HIP_KERNEL_NAME(run_printf), dim3(1), dim3(1), 0, 0);
hipDeviceSynchronize();
int device_count = 0;
hipGetDeviceCount(&device_count);
for (int i = 0; i < device_count; ++i) {
hipSetDevice(i);
hipLaunchKernelGGL(HIP_KERNEL_NAME(run_printf), dim3(1), dim3(1), 0, 0);
hipDeviceSynchronize();
}
passed();
}