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;
93 uint32_t globalWorkSizeY, uint32_t globalWorkSizeZ,
94 uint32_t localWorkSizeX, uint32_t localWorkSizeY,
95 uint32_t localWorkSizeZ,
size_t sharedMemBytes,
96 hipStream_t hStream,
void** kernelParams,
void** extra,
101 hipError_t hipHccModuleLaunchKernel(
hipFunction_t f, uint32_t globalWorkSizeX,
102 uint32_t globalWorkSizeY, uint32_t globalWorkSizeZ,
103 uint32_t localWorkSizeX, uint32_t localWorkSizeY,
104 uint32_t localWorkSizeZ,
size_t sharedMemBytes,
105 hipStream_t hStream,
void** kernelParams,
void** extra,
114 #endif // #ifdef __HCC__ 115 #endif // #ifdef HIP_INCLUDE_HIP_HIP_HCC_H hipError_t hipHccGetAccelerator(int deviceId, hc::accelerator *acc)
Return hc::accelerator associated with the specified deviceId.
Definition: hip_hcc.cpp:2468
_Float16 __2f16 __attribute__((ext_vector_type(2)))
Copies the memory address of symbol symbolName to devPtr.
Definition: hip_fp16_math_fwd.h:53
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...
Definition: hip_module.cpp:259
Definition: hip_module.cpp:89
hipError_t hipHccGetAcceleratorView(hipStream_t stream, hc::accelerator_view **av)
Return hc::accelerator_view associated with the specified stream.
Definition: hip_hcc.cpp:2484
Definition: hip_hcc_internal.h:700
Definition: hip_hcc_internal.h:519