Fixed host allocated globals address lookup for host usage

Fixed texture driver APIs failure


[ROCm/hip commit: 24ab820a11]
Tá an tiomantas seo le fáil i:
Rahul Garg
2018-01-30 18:06:31 +05:30
tuismitheoir fad10eed7d
tiomantas e2ade308cf
D'athraigh 4 comhad le 8 breiseanna agus 11 scriosta
+1
Féach ar an gComhad
@@ -453,6 +453,7 @@ hipError_t hipArrayCreate ( hipArray** array, const HIP_ARRAY_DESCRIPTOR* pAlloc
array[0]->width = pAllocateArray->width;
array[0]->height = pAllocateArray->height;
array[0]->isDrv = true;
array[0]->textureType = hipTextureType2D;
void ** ptr = &array[0]->data;
if (ctx) {
const unsigned am_flags = 0;