HIP: Heterogenous-computing Interface for Portability
HCC-Specific Accessors

The following calls are only supported when compiler HIP with HCC. To produce portable code, use of these calls must be guarded #ifdef checks: More...

Collaboration diagram for HCC-Specific Accessors:

The following calls are only supported when compiler HIP with HCC. To produce portable code, use of these calls must be guarded #ifdef checks:



#ifdef __HCC__
hc::accelerator acc;
hipError_t err = hipHccGetAccelerator(deviceId, &acc)
#endif
hipHccGetAccelerator
HIP_PUBLIC_API hipError_t hipHccGetAccelerator(int deviceId, hc::accelerator *acc)
Return hc::accelerator associated with the specified deviceId.
Definition: hip_hcc.cpp:2512