Add HIP_KERNEL_NAME/HIP_SYMBOL definitions for HIP-clang, and rename hipLaunch->hipLaunchByPtr.
[ROCm/clr commit: 84a723b2dc]
This commit is contained in:
@@ -527,9 +527,8 @@ do {\
|
||||
|
||||
#elif defined(__clang__) && defined(__HIP__)
|
||||
|
||||
#define hipConfigureCall cudaConfigureCall
|
||||
#define hipSetupArgument cudaSetupArgument
|
||||
#define hipLaunch cudaLaunch
|
||||
#define HIP_KERNEL_NAME(...) __VA_ARGS__
|
||||
#define HIP_SYMBOL(X) #X
|
||||
|
||||
typedef int hipLaunchParm ;
|
||||
|
||||
@@ -551,7 +550,7 @@ extern "C" {
|
||||
|
||||
hipError_t hipConfigureCall(dim3 gridDim, dim3 blockDim, size_t sharedMem, hipStream_t stream);
|
||||
hipError_t hipSetupArgument(const void *arg, size_t size, size_t offset);
|
||||
hipError_t hipLaunch(const void *func);
|
||||
hipError_t hipLaunchByPtr(const void *func);
|
||||
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user