Fix hipStreamWaitEvent for single GPU.

이 커밋은 다음에 포함됨:
Ben Sander가 2017-05-10 13:23:49 -05:00를 커밋했습니다
1 부모 14930dc594
커밋 ae9fdf9bc1
1 파일이 변경됨
+1 -1
+1 -1
파일 보기
@@ -395,7 +395,7 @@ int main(int argc, char *argv[])
int numDevices;
HIPCHECK(hipGetDeviceCount(&numDevices));
numDevices =2; // TODO - remove me.
numDevices = min(2, numDevices); // multi-GPU to 2 device.
for (int d=0; d<numDevices/*TODO*/; d++) {
for (int i=0; i<p_streams; i++) {