added new field to hipDeviceProp_t structure gcnArch.

1. It is an integer containing gfx values 701, 801, 802, 803
2. On NV path, it is zero

Change-Id: I2b4c7f48981d0214d8c6b1905d2cc85b16203419
此提交包含在:
Aditya Atluri committed 2017-03-07 11:24:32 -06:00
1 父節點 12e8d635aa
當前提交 f86f3b3b33
3 file changed
+24 -8

No files matched your search

+1
查看文件
@@ -106,6 +106,7 @@ typedef struct hipDeviceProp_t {
size_t maxSharedMemoryPerMultiProcessor; ///< Maximum Shared Memory Per Multiprocessor.
int isMultiGpuBoard; ///< 1 if device is on a multi-GPU board, 0 if not.
int canMapHostMemory; ///< Check whether HIP can map host memory
int gcnArch; ///< AMD GCN Arch Value. Eg: 803, 701
} hipDeviceProp_t;