#include "base/cs_defs.h"#include "hip/hip_runtime.h"#include <cstring>#include "assert.h"#include "bft/bft_error.h"#include "bft/bft_printf.h"#include "base/cs_base.h"#include "base/cs_log.h"#include "base/cs_mem.h"#include "base/cs_mem_hip_priv.h"#include "base/cs_base_hip.h"
Include dependency graph for cs_base_hip.cpp:Functions | |
| void | cs_base_hip_device_info (cs_log_t log_id) |
| Log information on available HIP devices. More... | |
| void | cs_base_hip_version_info (cs_log_t log_id) |
| Log information on available HIP version. More... | |
| void | cs_base_hip_compiler_info (cs_log_t log_id) |
| Log information on HIP compiler. More... | |
| void | cs_base_hip_nccl_info (cs_log_t log_id) |
| Log information on NCCL. More... | |
| int | cs_base_hip_select_default_device (void) |
| Set HIP device based on MPI rank and number of devices. More... | |
| int | cs_base_hip_get_device (void) |
| Return currently selected HIP devices. More... | |
| void cs_base_hip_compiler_info | ( | cs_log_t | log_id | ) |
Log information on HIP compiler.
| [in] | log_id | id of log file in which to print information |
| void cs_base_hip_device_info | ( | cs_log_t | log_id | ) |
Log information on available HIP devices.
| [in] | log_id | id of log file in which to print information |
| int cs_base_hip_get_device | ( | void | ) |
Return currently selected HIP devices.
| void cs_base_hip_nccl_info | ( | cs_log_t | log_id | ) |
Log information on NCCL.
| [in] | log_id | id of log file in which to print information |
| int cs_base_hip_select_default_device | ( | void | ) |
Set HIP device based on MPI rank and number of devices.
| [in] | comm | associated MPI communicator |
| [in] | ranks_per_node | number of ranks per node (min and max) |
| void cs_base_hip_version_info | ( | cs_log_t | log_id | ) |
Log information on available HIP version.
| [in] | log_id | id of log file in which to print information |