Fixing a copy/paste error in my previous checkin
Šī revīzija ir iekļauta:
@@ -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);
|
||||||
|
|||||||
Atsaukties uz šo jaunā problēmā
Block a user