SWDEV-283515 - Fix crashing in kernel launch on MGPUS
Fix wrong mixing of current device and stream device in
ihipModuleLaunchKernel() and hipLaunchCooperativeKernel().
Fix missing hipSetDevice() in hipMemcpyWithStream* tests.
Change-Id: I09333bb40d239bb42c832df5ea16d17eeaeff5e7
[ROCm/hip commit: a95ff95bf7]
Αυτή η υποβολή περιλαμβάνεται σε:
@@ -126,6 +126,7 @@ int main(int argc, char *argv[])
|
||||
printf ("info: checking result on bus 0x%2x %s\n", props.pciBusID, props.name);
|
||||
|
||||
printf ("info: copy Device2Host\n");
|
||||
HIPCHECK(hipSetDevice(j));
|
||||
HIPCHECK( hipMemcpy(C_h, C_d[j], Nbytes, hipMemcpyDeviceToHost));
|
||||
|
||||
printf ("info: check result\n");
|
||||
|
||||
Αναφορά σε νέο ζήτημα
Block a user