aboutsummaryrefslogtreecommitdiffstats
path: root/libsmctrl.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsmctrl.h')
-rw-r--r--libsmctrl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libsmctrl.h b/libsmctrl.h
index 7be425d..f342afa 100644
--- a/libsmctrl.h
+++ b/libsmctrl.h
@@ -55,6 +55,9 @@ extern int libsmctrl_get_tpc_info(uint32_t* num_tpcs, int dev);
55// Get number of GPCs for devices number `dev`, and a GPC-indexed array 55// Get number of GPCs for devices number `dev`, and a GPC-indexed array
56// containing masks of which TPCs are associated with each GPC. 56// containing masks of which TPCs are associated with each GPC.
57// Note that the `nvdebug` module must be loaded to use this function. 57// Note that the `nvdebug` module must be loaded to use this function.
58// @param num_enabled_gpcs Location to store number of GPCs in
59// @param tpcs_for_gpc Pointer to store pointer to output buffer at
60// @return 0 on success, error code on error
58extern int libsmctrl_get_gpc_info(uint32_t* num_enabled_gpcs, uint64_t** tpcs_for_gpc, int dev); 61extern int libsmctrl_get_gpc_info(uint32_t* num_enabled_gpcs, uint64_t** tpcs_for_gpc, int dev);
59 62
60#ifdef __cplusplus 63#ifdef __cplusplus