Skip to content

Commit

Permalink
IGX iGPU update and cosmetic changes to existing MPS tutorial
Browse files Browse the repository at this point in the history
Co-authored-by: Vani Nagarajan <[email protected]>
Signed-off-by: sohams <[email protected]>
  • Loading branch information
sohamm17 and vani-nag committed Sep 24, 2024
1 parent b2746e8 commit 6bf2ad4
Show file tree
Hide file tree
Showing 9 changed files with 124 additions and 26 deletions.
143 changes: 120 additions & 23 deletions tutorials/cuda_mps/README.md

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions tutorials/cuda_mps/start_mps_daemon.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ set -e
export CUDA_MPS_PIPE_DIRECTORY=/tmp/nvidia-mps
export CUDA_MPS_LOG_DIRECTORY=/tmp/nvidia-log

nvidia-cuda-mps-control -d
if [ $# -eq 1 ]
then
echo "set_default_active_thread_percentage $1" | nvidia-cuda-mps-control
fi
export CUDA_MPS_ACTIVE_THREAD_PERCENTAGE=$1
fi
nvidia-cuda-mps-control -d

0 comments on commit 6bf2ad4

Please sign in to comment.