Changed module api to work with nvcc and hipcc path

- Added cuda and cudart linking for nvcc path in hipcc
- Added hipMemcpyHtoD and hipMemcpyDtoH for nvcc path
- Changed hipDeviceptr to hipDeviceptr_t
- Fixed hipMemcpy*to* API signatues

Change-Id: I6ef076b507f92502efda475c83dcdcdd462afc37
Этот коммит содержится в:
Aditya Atluri
2016-08-29 15:05:12 -05:00
родитель 7ae453f349
Коммит 4b377f63d0
5 изменённых файлов: 44 добавлений и 18 удалений
+1 -1
Просмотреть файл
@@ -280,7 +280,7 @@ Kernel argument preparation.
}
hipError_t hipModuleGetGlobal(hipDeviceptr *dptr, size_t *bytes,
hipError_t hipModuleGetGlobal(hipDeviceptr_t *dptr, size_t *bytes,
hipModule_t hmod, const char* name){
HIP_INIT_API(name);
hipError_t ret = hipSuccess;