Merge pull request #708 from mangupta/swdev-125523

Add missing hipHostRegister flags on nvcc path

[ROCm/hip commit: 797d151444]
Este cometimento está contido em:
Maneesh Gupta criou e GitHub cometeu 2018-10-17 06:10:25 +05:30
2 ascendentes 1ca8348efb 83e56b2ed4
cometimento 240bf09a95
1 ficheiro modificado
+2
+2
Ver ficheiro
@@ -105,8 +105,10 @@ typedef enum hipChannelFormatKind {
#define hipHostMallocCoherent 0x0
#define hipHostMallocNonCoherent 0x0
#define hipHostRegisterDefault cudaHostRegisterDefault
#define hipHostRegisterPortable cudaHostRegisterPortable
#define hipHostRegisterMapped cudaHostRegisterMapped
#define hipHostRegisterIoMemory cudaHostRegisterIoMemory
#define HIP_LAUNCH_PARAM_BUFFER_POINTER CU_LAUNCH_PARAM_BUFFER_POINTER
#define HIP_LAUNCH_PARAM_BUFFER_SIZE CU_LAUNCH_PARAM_BUFFER_SIZE