Skip to content

Commit

Permalink
Remove redundant declarations.
Browse files Browse the repository at this point in the history
- The revised `hip/hip_ext.h` have that declarations.
  • Loading branch information
mhbliao committed Nov 7, 2019
1 parent 3be0865 commit d6ff225
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions include/hip/hcc_detail/hip_runtime.h
Original file line number Diff line number Diff line change
Expand Up @@ -518,25 +518,6 @@ hc_get_workitem_absolute_id(int dim)
#pragma pop_macro("__CUDA__")
#endif // ndef _OPENMP

#if __HIP_VDI__
hipError_t hipExtModuleLaunchKernel(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,
uint32_t flags = 0);

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)
__attribute__((deprecated("use hipExtModuleLaunchKernel instead")));
#endif // __HIP_VDI__
#endif // defined(__clang__) && defined(__HIP__)

#include <hip/hcc_detail/hip_memory.h>
Expand Down

0 comments on commit d6ff225

Please sign in to comment.