mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2026-11-17 17:38:18 +08:00
CUDA 13.2 samples update (#432)
- Added Python samples for CUDA Python 1.0 release - Renamed top-level `Samples` directory to `cpp` to accommodate Python samples.
This commit is contained in:
17
cpp/6_Performance/cudaGraphsPerfScaling/dataCollection.bash
Normal file
17
cpp/6_Performance/cudaGraphsPerfScaling/dataCollection.bash
Normal file
@@ -0,0 +1,17 @@
|
||||
GPU=$1
|
||||
DRIVER_VERSION=$2
|
||||
BINARY=./cudaGraphsPerfScaling
|
||||
datadir=PERF_DATA
|
||||
|
||||
suffix=$DRIVER_VERSION
|
||||
prefix=$GPU
|
||||
mkdir -p $datadir
|
||||
|
||||
trials=600
|
||||
|
||||
width=1
|
||||
nvidia-smi > $datadir/${prefix}_info_${suffix}.txt
|
||||
$BINARY 5 $trials 1 $width 0 1 256 > $datadir/${prefix}_${width}_small_${suffix}.csv
|
||||
$BINARY 5 $trials 1 $width 0 32 2048 > $datadir/${prefix}_${width}_large_${suffix}.csv
|
||||
width=4
|
||||
$BINARY 5 $trials 1 $width 0 1 256 > $datadir/${prefix}_${width}_small_${suffix}.csv
|
||||
Reference in New Issue
Block a user