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
This commit is contained in:
+1
-1
@@ -151,7 +151,7 @@ if ($HIP_PLATFORM eq "hcc") {
|
||||
$HIPCC="$CUDA_PATH/bin/nvcc";
|
||||
$HIPCXXFLAGS .= " -I$CUDA_PATH/include";
|
||||
|
||||
$HIPLDFLAGS = "";
|
||||
$HIPLDFLAGS = "-lcuda -lcudart";
|
||||
} else {
|
||||
printf ("error: unknown HIP_PLATFORM = '$HIP_PLATFORM'");
|
||||
exit (-1);
|
||||
|
||||
Reference in New Issue
Block a user