Merge pull request #379 from lmoriche/master

Add HIP_KERNEL_NAME/HIP_SYMBOL definitions for HIP-clang, and rename …

[ROCm/hip commit: dbd818c4bd]
Этот коммит содержится в:
Maneesh Gupta
2018-03-26 15:38:02 +05:30
коммит произвёл GitHub
родитель e0fa2c1e93 e2fc87d3c6
Коммит 0f9a2f54e1
+3 -4
Просмотреть файл
@@ -517,9 +517,8 @@ extern void ihipPostLaunchKernel(const char* kernelName, hipStream_t stream, gri
#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;
@@ -541,7 +540,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)
}