Core Functionality#
|
ROCprofiler-SDK developer API 1.4.1
ROCm Profiling API and tools
|
Macros | |
| #define | HIPFILE_VERSION_MAJOR 0 |
| hipFile major version number | |
| #define | HIPFILE_VERSION_MINOR 3 |
| hipFile minor version number | |
| #define | HIPFILE_VERSION_PATCH 0 |
| hipFile patch version number | |
Functions | |
| hipFileError_t | hipFileGetVersion (unsigned *major, unsigned *minor, unsigned *patch) |
| Get the version of the hipFile library. | |
| hipFileError_t | hipFileGetParameterSizeT (hipFileSizeTConfigParameter_t param, unsigned long *value) |
| Get the value of a size_t configuration parameter. | |
| hipFileError_t | hipFileGetParameterBool (hipFileBoolConfigParameter_t param, bool *value) |
| Get the value of a Boolean configuration parameter. | |
| hipFileError_t | hipFileGetParameterString (hipFileStringConfigParameter_t param, char *desc_str, int len) |
| Get the value of a string configuration parameter. | |
| hipFileError_t | hipFileSetParameterSizeT (hipFileSizeTConfigParameter_t param, unsigned long value) |
| Set the value of a size_t configuration parameter. | |
| hipFileError_t | hipFileSetParameterBool (hipFileBoolConfigParameter_t param, bool value) |
| Set the value of a Boolean configuration parameter. | |
| hipFileError_t | hipFileSetParameterString (hipFileStringConfigParameter_t param, const char *desc_str) |
| Set the value of a string configuration parameter. | |
Detailed Description
Macro Definition Documentation
◆ HIPFILE_VERSION_MAJOR
| #define HIPFILE_VERSION_MAJOR 0 |
#include <rocprofiler-sdk/hipfile/details/hipfile.h>
hipFile major version number
◆ HIPFILE_VERSION_MINOR
| #define HIPFILE_VERSION_MINOR 3 |
#include <rocprofiler-sdk/hipfile/details/hipfile.h>
hipFile minor version number
◆ HIPFILE_VERSION_PATCH
| #define HIPFILE_VERSION_PATCH 0 |
#include <rocprofiler-sdk/hipfile/details/hipfile.h>
hipFile patch version number
Enumeration Type Documentation
◆ hipFileBoolConfigParameter_t
#include <rocprofiler-sdk/hipfile/details/hipfile.h>
Boolean configuration parameters.
Definition at line 947 of file hipfile.h.
◆ hipFileSizeTConfigParameter_t
#include <rocprofiler-sdk/hipfile/details/hipfile.h>
size_t configuration parameters
Definition at line 928 of file hipfile.h.
◆ hipFileStringConfigParameter_t
#include <rocprofiler-sdk/hipfile/details/hipfile.h>
String configuration parameters.
| Enumerator | |
|---|---|
| hipFileParamLoggingLevel | Logging level. |
| hipFileParamEnvLogfilePath | Logfile path. |
| hipFileParamLogDir | Logfile directory. |
Definition at line 966 of file hipfile.h.
Function Documentation
◆ hipFileGetParameterBool()
| hipFileError_t hipFileGetParameterBool | ( | hipFileBoolConfigParameter_t | param, |
| bool * | value | ||
| ) |
#include <rocprofiler-sdk/hipfile/details/hipfile.h>
Get the value of a Boolean configuration parameter.
\warn_not_implemented
- Parameters
-
param The configuration parameter value The location to store the value of the configuration parameter
- Returns
- \hipfile_error_return
- Note
- If the driver is open, the value returned is the value currently in use by the driver.
- If the driver is closed, the value returned is the value that was last set by hipFileSetParameter*.
◆ hipFileGetParameterSizeT()
| hipFileError_t hipFileGetParameterSizeT | ( | hipFileSizeTConfigParameter_t | param, |
| unsigned long * | value | ||
| ) |
#include <rocprofiler-sdk/hipfile/details/hipfile.h>
Get the value of a size_t configuration parameter.
\warn_not_implemented
- Parameters
-
param The configuration parameter value The location to store the value of the configuration parameter
- Returns
- \hipfile_error_return
- Note
- If the driver is open, the value returned is the value currently in use by the driver.
- If the driver is closed, the value returned is the value that was last set by hipFileSetParameter*.
◆ hipFileGetParameterString()
| hipFileError_t hipFileGetParameterString | ( | hipFileStringConfigParameter_t | param, |
| char * | desc_str, | ||
| int | len | ||
| ) |
#include <rocprofiler-sdk/hipfile/details/hipfile.h>
Get the value of a string configuration parameter.
\warn_not_implemented
- Parameters
-
param The configuration parameter desc_str The location to store the value of the configuration parameter len The length of the desc_str parameter
- Returns
- \hipfile_error_return
- Note
- If the driver is open, the value returned is the value currently in use by the driver.
- If the driver is closed, the value returned is the value that was last set by hipFileSetParameter*.
◆ hipFileGetVersion()
| hipFileError_t hipFileGetVersion | ( | unsigned * | major, |
| unsigned * | minor, | ||
| unsigned * | patch | ||
| ) |
#include <rocprofiler-sdk/hipfile/details/hipfile.h>
Get the version of the hipFile library.
- Parameters
-
[out] major The major version [out] minor The minor version [out] patch The patch version
- Note
- Parameters can be set to NULL to ignore that part of the version
- Returns
- \hipfile_error_return
◆ hipFileSetParameterBool()
| hipFileError_t hipFileSetParameterBool | ( | hipFileBoolConfigParameter_t | param, |
| bool | value | ||
| ) |
#include <rocprofiler-sdk/hipfile/details/hipfile.h>
Set the value of a Boolean configuration parameter.
\warn_not_implemented
- Parameters
-
param The configuration parameter value The value of the configuration parameter
- Returns
- \hipfile_error_return
- Note
- Configuration parameter values may only be set when the driver is closed. Values are applied when the driver is opened.
◆ hipFileSetParameterSizeT()
| hipFileError_t hipFileSetParameterSizeT | ( | hipFileSizeTConfigParameter_t | param, |
| unsigned long | value | ||
| ) |
#include <rocprofiler-sdk/hipfile/details/hipfile.h>
Set the value of a size_t configuration parameter.
\warn_not_implemented
- Parameters
-
param The configuration parameter value The value of the configuration parameter
- Returns
- \hipfile_error_return
- Note
- Configuration parameter values may only be set when the driver is closed. Values are applied when the driver is opened.
◆ hipFileSetParameterString()
| hipFileError_t hipFileSetParameterString | ( | hipFileStringConfigParameter_t | param, |
| const char * | desc_str | ||
| ) |
#include <rocprofiler-sdk/hipfile/details/hipfile.h>
Set the value of a string configuration parameter.
\warn_not_implemented
- Parameters
-
param The configuration parameter desc_str The value of the configuration parameter
- Returns
- \hipfile_error_return
- Note
- Configuration parameter values may only be set when the driver is closed. Values are applied when the driver is opened.
Generated by