SWDEV-286322 - clean up trailing space - part2 (#2383)

Change-Id: Id659c029a33874bc9a7d4c42bffd06cdc1845e2e
This commit is contained in:
Julia Jiang
2021-11-25 04:38:06 -05:00
committed by GitHub
parent d22fa0012e
commit 48b91908bc
7 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -49,12 +49,12 @@ void texture2Dtest()
for(size_t i=1; i <= (SIZE_H*SIZE_W); i++){
A[i-1] = i;
}
size_t devPitchA;
HIPCHECK(hipMallocPitch((void**)&devPtrA, &devPitchA ,SIZE_W*sizeof(TYPE_t), SIZE_H)) ;
HIPCHECK(hipMemcpy2D(devPtrA, devPitchA, A, SIZE_W*sizeof(TYPE_t),
SIZE_W*sizeof(TYPE_t), SIZE_H, hipMemcpyHostToDevice));
// Use the texture object
hipResourceDesc texRes;
memset(&texRes, 0, sizeof(texRes));