Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
composable_kernel_ROCM
Commits
f246fd2c
"...resnet50_tensorflow.git" did not exist on "6e5cbee1a5a2a80f0fbb0a505902ee9da1bed16d"
Unverified
Commit
f246fd2c
authored
Aug 25, 2022
by
zjing14
Committed by
GitHub
Aug 25, 2022
Browse files
add scripts (#382)
parent
e1a3fff6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
55 additions
and
0 deletions
+55
-0
script/profile_splitK_gemm.sh
script/profile_splitK_gemm.sh
+41
-0
script/run_full_performance_tests.sh
script/run_full_performance_tests.sh
+14
-0
No files found.
script/profile_splitK_gemm.sh
0 → 100755
View file @
f246fd2c
#!/bin/bash
## GPU visibility
export
HIP_VISIBLE_DEVICES
=
0
DRIVER
=
"../build/bin/ckProfiler"
echo
$DRIVER
OP
=
$1
DATATYPE
=
$2
LAYOUT
=
$3
VERIFY
=
$4
INIT
=
$5
LOG
=
$6
TIME
=
$7
KBatch
=
$8
# 120 CU
######## op datatype layout verify init log time M___ N___ K___ StrideA StrideB StrideC KBatch_
$DRIVER
$OP
$DATATYPE
$LAYOUT
$VERIFY
$INIT
$LOG
$TIME
960 1024 1024
-1
-1
-1
$KBatch
$DRIVER
$OP
$DATATYPE
$LAYOUT
$VERIFY
$INIT
$LOG
$TIME
960 2048 2048
-1
-1
-1
$KBatch
# 104 CU
######## op datatype layout verify init log time M___ N___ K___ StrideA StrideB StrideC KBatch_
$DRIVER
$OP
$DATATYPE
$LAYOUT
$VERIFY
$INIT
$LOG
$TIME
832 1024 1024
-1
-1
-1
$KBatch
$DRIVER
$OP
$DATATYPE
$LAYOUT
$VERIFY
$INIT
$LOG
$TIME
832 2048 2048
-1
-1
-1
$KBatch
# 110 CU
######## op datatype layout verify init log time M___ N___ K___ StrideA StrideB StrideC KBatch_
$DRIVER
$OP
$DATATYPE
$LAYOUT
$VERIFY
$INIT
$LOG
$TIME
1280 1408 1024
-1
-1
-1
$KBatch
$DRIVER
$OP
$DATATYPE
$LAYOUT
$VERIFY
$INIT
$LOG
$TIME
1280 2816 2048
-1
-1
-1
$KBatch
# testing different strides
######## op datatype layout verify init log time M___ N___ K___ StrideA StrideB StrideC KBatch_
$DRIVER
$OP
$DATATYPE
$LAYOUT
$VERIFY
$INIT
$LOG
$TIME
1024 1024 1024 1024 1024 1024
$KBatch
$DRIVER
$OP
$DATATYPE
$LAYOUT
$VERIFY
$INIT
$LOG
$TIME
2048 2048 2048 2048 2048 2048
$KBatch
$DRIVER
$OP
$DATATYPE
$LAYOUT
$VERIFY
$INIT
$LOG
$TIME
1024 1024 1024 1056 1056 1056
$KBatch
$DRIVER
$OP
$DATATYPE
$LAYOUT
$VERIFY
$INIT
$LOG
$TIME
2048 2048 2048 2080 2080 2080
$KBatch
$DRIVER
$OP
$DATATYPE
$LAYOUT
$VERIFY
$INIT
$LOG
$TIME
1024 1024 1024 1088 1088 1088
$KBatch
$DRIVER
$OP
$DATATYPE
$LAYOUT
$VERIFY
$INIT
$LOG
$TIME
2048 2048 2048 2112 2112 2112
$KBatch
script/run_full_performance_tests.sh
View file @
f246fd2c
...
...
@@ -122,3 +122,17 @@ export reduction_log="perf_reduction_${gpu_arch}.log"
print_log_header
$reduction_log
$env_type
$branch
$host_name
./profile_reduce_with_index.sh
$verify
2 10
--half
|
tee
-a
$reduction_log
./profile_reduce_no_index.sh
$verify
2 10
--half
|
tee
-a
$reduction_log
#run splitK_gemm tests
export
splitK_gemm_log
=
"perf_splitK_gemm_
${
gpu_arch
}
.log"
print_log_header
$splitK_gemm_log
$env_type
$branch
$host_name
#../script/profile_splitK_gemm.sh gemm_splitk 0 0 $verify 1 0 1 4 | tee -a $splitK_gemm_log
#../script/profile_splitK_gemm.sh gemm_splitk 0 1 $verify 1 0 1 4 | tee -a $splitK_gemm_log
#../script/profile_splitK_gemm.sh gemm_splitk 0 2 $verify 1 0 1 4 | tee -a $splitK_gemm_log
#../script/profile_splitK_gemm.sh gemm_splitk 0 3 $verify 1 0 1 4 | tee -a $splitK_gemm_log
../script/profile_splitK_gemm.sh gemm_splitk 1 0
$verify
1 0 1 4 |
tee
-a
$splitK_gemm_log
../script/profile_splitK_gemm.sh gemm_splitk 1 1
$verify
1 0 1 4 |
tee
-a
$splitK_gemm_log
../script/profile_splitK_gemm.sh gemm_splitk 1 2
$verify
1 0 1 4 |
tee
-a
$splitK_gemm_log
../script/profile_splitK_gemm.sh gemm_splitk 1 3
$verify
1 0 1 4 |
tee
-a
$splitK_gemm_log
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment