roctxgetthreadid Interface Reference

roctxgetthreadid Interface Reference#

hipFORT API Reference: hipfort_roctx::roctxgetthreadid Interface Reference
hipfort_roctx::roctxgetthreadid Interface Reference

Retrieve a id value for the current thread which will be identical to the id value a profiling tool gets via rocprofiler_get_thread_id(rocprofiler_thread_id_t*) More...

Public Member Functions

integer(c_int) function roctxgetthreadid_ (tid)
 

Detailed Description

Retrieve a id value for the current thread which will be identical to the id value a profiling tool gets via rocprofiler_get_thread_id(rocprofiler_thread_id_t*)

Parameters
tid- [out] Pointer to where the value should be placed
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

◆ roctxgetthreadid_()

integer(c_int) function hipfort_roctx::roctxgetthreadid::roctxgetthreadid_ ( type(c_ptr), value  tid)

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