roctxnameosthread Interface Reference

roctxnameosthread Interface Reference#

hipFORT API Reference: hipfort_roctx::roctxnameosthread Interface Reference
hipfort_roctx::roctxnameosthread Interface Reference

Indicate to a profiling tool that, where possible, you would like the current CPU OS thread to be labeled by the provided name in the output of the profiling tool. More...

Public Member Functions

integer(c_int) function roctxnameosthread_ (name)
 

Detailed Description

Indicate to a profiling tool that, where possible, you would like the current CPU OS thread to be labeled by the provided name in the output of the profiling tool.

Rocprofiler does not provide explicit support for how profiling tools handle this request: support for this capability is tool specific. ROCTx does NOT rename the thread via pthread_setname_np.

Parameters
[in]nameName for the current OS thread
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

◆ roctxnameosthread_()

integer(c_int) function hipfort_roctx::roctxnameosthread::roctxnameosthread_ ( type(c_ptr), value  name)

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