aboutsummaryrefslogtreecommitdiffstats
path: root/libsmctrl.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsmctrl.h')
-rw-r--r--libsmctrl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsmctrl.h b/libsmctrl.h
index 990d434..a8207b4 100644
--- a/libsmctrl.h
+++ b/libsmctrl.h
@@ -9,6 +9,7 @@ extern "C" {
9#endif 9#endif
10 10
11#include <stdint.h> 11#include <stdint.h>
12typedef unsigned __int128 uint128_t;
12 13
13/* PARTITIONING FUNCTIONS */ 14/* PARTITIONING FUNCTIONS */
14 15
@@ -22,6 +23,7 @@ extern void libsmctrl_set_global_mask(uint64_t mask);
22// @param mask A bitmask of enabled/disabled TPCs (see Notes on Bitmasks) 23// @param mask A bitmask of enabled/disabled TPCs (see Notes on Bitmasks)
23// Supported: CUDA 8.0 - CUDA 12.1 24// Supported: CUDA 8.0 - CUDA 12.1
24extern void libsmctrl_set_stream_mask(void* stream, uint64_t mask); 25extern void libsmctrl_set_stream_mask(void* stream, uint64_t mask);
26extern void libsmctrl_set_stream_mask_ext(void* stream, uint128_t mask);
25// Set TPC mask for the next kernel launch from the caller's CPU thread 27// Set TPC mask for the next kernel launch from the caller's CPU thread
26// (overrides global and per-stream masks, applies only to next launch). 28// (overrides global and per-stream masks, applies only to next launch).
27// @param mask A bitmask of enabled/disabled TPCs (see Notes on Bitmasks) 29// @param mask A bitmask of enabled/disabled TPCs (see Notes on Bitmasks)