roctxnamehipdevice Interface Reference

roctxnamehipdevice Interface Reference#

hipFORT API Reference: hipfort_roctx::roctxnamehipdevice Interface Reference
hipfort_roctx::roctxnamehipdevice Interface Reference

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

Public Member Functions

integer(c_int) function roctxnamehipdevice_ (name, device_id)
 

Detailed Description

Indicate to a profiling tool that, where possible, you would like the given HIP device id 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 device
[in]device_idHIP device ordinal
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

◆ roctxnamehipdevice_()

integer(c_int) function hipfort_roctx::roctxnamehipdevice::roctxnamehipdevice_ ( type(c_ptr), value  name,
integer(c_int), value  device_id 
)

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