aboutsummaryrefslogtreecommitdiffstats
path: root/nvtaskset.c
diff options
context:
space:
mode:
Diffstat (limited to 'nvtaskset.c')
-rw-r--r--nvtaskset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nvtaskset.c b/nvtaskset.c
index b8873ab..74f88d7 100644
--- a/nvtaskset.c
+++ b/nvtaskset.c
@@ -134,7 +134,7 @@ int main(int argc, char **argv) {
134 } 134 }
135 // Tell loader to initialize libsmctrl.so first 135 // Tell loader to initialize libsmctrl.so first
136 // TODO: Append, rather than overwrite LD_PRELOAD 136 // TODO: Append, rather than overwrite LD_PRELOAD
137 setenv("LD_PRELOAD", "./libsmctrl.so", 1); 137 setenv("LD_PRELOAD", "libsmctrl.so", 1);
138 // Explictly set the number of channels, otherwise CUDA will only use two 138 // Explictly set the number of channels, otherwise CUDA will only use two
139 // (see paper for why that causes problems) 139 // (see paper for why that causes problems)
140 setenv("CUDA_DEVICE_MAX_CONNECTIONS", "8", 1); 140 setenv("CUDA_DEVICE_MAX_CONNECTIONS", "8", 1);