Fixing a copy/paste error in my previous checkin
이 커밋은 다음에 포함됨:
1 부모
4be4cf644f
커밋
76a7d7e374
1 파일이 변경됨
+3
-8
@@ -71,14 +71,9 @@ void check_lgamma_double() {
|
|||||||
datatype_t *outputGPU = nullptr; hipMalloc((void**)&outputGPU, memsize);
|
datatype_t *outputGPU = nullptr; hipMalloc((void**)&outputGPU, memsize);
|
||||||
|
|
||||||
// populate input
|
// populate input
|
||||||
inputCPU[0] = -3.5;
|
for (int i=0; i<NUM_INPUTS; i++) {
|
||||||
inputCPU[0] = -2.5;
|
inputCPU[i] = -3.5 + i;
|
||||||
inputCPU[0] = -1.5;
|
}
|
||||||
inputCPU[0] = -0.5;
|
|
||||||
inputCPU[0] = 0.5;
|
|
||||||
inputCPU[0] = 1.5;
|
|
||||||
inputCPU[0] = 2.5;
|
|
||||||
inputCPU[0] = 3.5;
|
|
||||||
|
|
||||||
// copy inputs to device
|
// copy inputs to device
|
||||||
hipMemcpy(inputGPU, inputCPU, memsize, hipMemcpyHostToDevice);
|
hipMemcpy(inputGPU, inputCPU, memsize, hipMemcpyHostToDevice);
|
||||||
|
|||||||
새 이슈에서 참조
사용자 차단