corrected hipDeviceGetProperties to hipGetDeviceProperties - not docs

이 커밋은 다음에 포함됨:
Aditya Atluri가 2016-03-06 08:31:04 -06:00를 커밋했습니다
1 부모 3aa764d5eb
커밋 d3ba2b9782
24 파일이 변경됨
+27 -27

검색과 일치하는 파일 없음

+1 -1
파일 보기
@@ -60,7 +60,7 @@ int main(int argc, char *argv[])
int deviceId;
CHECK (hipGetDevice(&deviceId));
hipDeviceProp_t props;
CHECK(hipDeviceGetProperties(&props, deviceId));
CHECK(hipGetDeviceProperties(&props, deviceId));
printf ("info: running on device #%d %s\n", deviceId, props.name);
+1 -1
파일 보기
@@ -53,7 +53,7 @@ int main(int argc, char *argv[])
size_t Nbytes = N * sizeof(float);
hipDeviceProp_t props;
CHECK(hipDeviceGetProperties(&props, 0/*deviceID*/));
CHECK(hipGetDeviceProperties(&props, 0/*deviceID*/));
printf ("info: running on device %s\n", props.name);
printf ("info: allocate host mem (%6.2f MB)\n", 2*Nbytes/1024.0/1024.0);