23 #ifndef HIP_INCLUDE_HIP_HIP_HCC_H 24 #define HIP_INCLUDE_HIP_HIP_HCC_H 28 #include "hip/hip_runtime_api.h" 33 class accelerator_view;
96 uint32_t globalWorkSizeY, uint32_t globalWorkSizeZ,
97 uint32_t localWorkSizeX, uint32_t localWorkSizeY,
98 uint32_t localWorkSizeZ,
size_t sharedMemBytes,
99 hipStream_t hStream,
void** kernelParams,
void** extra,
100 hipEvent_t startEvent =
nullptr,
101 hipEvent_t stopEvent =
nullptr,
105 hipError_t hipHccModuleLaunchKernel(hipFunction_t f, uint32_t globalWorkSizeX,
106 uint32_t globalWorkSizeY, uint32_t globalWorkSizeZ,
107 uint32_t localWorkSizeX, uint32_t localWorkSizeY,
108 uint32_t localWorkSizeZ,
size_t sharedMemBytes,
109 hipStream_t hStream,
void** kernelParams,
void** extra,
110 hipEvent_t startEvent =
nullptr,
111 hipEvent_t stopEvent =
nullptr)
118 #endif // #ifdef __HCC__ 119 #endif // #ifdef HIP_INCLUDE_HIP_HIP_HCC_H HIP_PUBLIC_API 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)
launches kernel f with launch parameters and shared memory on stream with arguments passed to kernelp...
HIP_PUBLIC_API hipError_t hipHccGetAcceleratorView(hipStream_t stream, hc::accelerator_view **av)
Return hc::accelerator_view associated with the specified stream.
HIP_PUBLIC_API hipError_t hipHccGetAccelerator(int deviceId, hc::accelerator *acc)
Return hc::accelerator associated with the specified deviceId.