Fixed host allocated globals address lookup for host usage

Fixed texture driver APIs failure
此提交包含在:
Rahul Garg
2018-01-30 18:06:31 +05:30
父節點 755c5a2046
當前提交 b8c23f979b
共有 4 個檔案被更改,包括 8 行新增 和 11 行删除
+1
查看文件
@@ -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;