roctxnamehsaagent Interface Reference

roctxnamehsaagent Interface Reference#

hipFORT API Reference: hipfort_roctx::roctxnamehsaagent Interface Reference
hipfort_roctx::roctxnamehsaagent Interface Reference

Indicate to a profiling tool that, where possible, you would like the given HSA agent to be labeled by the provided name in the output of the profiling tool. More...

Public Member Functions

integer(c_int) function roctxnamehsaagent_ (name, agent)
 

Detailed Description

Indicate to a profiling tool that, where possible, you would like the given HSA agent to be labeled by the provided name in the output of the profiling tool.

Rocprofiler does not provide any explicit support for how profiling tools handle this request: support for this capability is tool specific.

Parameters
[in]nameName for the specified agent
[in]agentPointer to a HSA agent identifier
Returns
int A profiling tool may choose to set this value to a non-zero value to indicate a failure while executing the request or lack of support

Member Function/Subroutine Documentation

◆ roctxnamehsaagent_()

integer(c_int) function hipfort_roctx::roctxnamehsaagent::roctxnamehsaagent_ ( type(c_ptr), value  name,
type(c_ptr), value  agent 
)

The documentation for this interface was generated from the following file: