Enable hipHccModuleLaunchKernel on HIP-Clang

This commit is contained in:
Aaron Enye Shi
2018-07-31 20:38:20 +00:00
parent 4e3a75c019
commit d1149a9b64
+9 -1
Vedi File
@@ -450,6 +450,14 @@ extern const __device__ __attribute__((weak)) __hip_builtin_gridDim_t gridDim;
#include <hip/hcc_detail/math_functions.h>
#endif
hipError_t hipHccModuleLaunchKernel(hipFunction_t f, uint32_t globalWorkSizeX,
uint32_t globalWorkSizeY, uint32_t globalWorkSizeZ,
uint32_t localWorkSizeX, uint32_t localWorkSizeY,
uint32_t localWorkSizeZ, size_t sharedMemBytes,
hipStream_t hStream, void** kernelParams, void** extra,
hipEvent_t startEvent = nullptr,
hipEvent_t stopEvent = nullptr);
#endif // defined(__clang__) && defined(__HIP__)
#endif // HIP_HCC_DETAIL_RUNTIME_H