Skip to content

Commit

Permalink
add default config benchmarks for ampere
Browse files Browse the repository at this point in the history
  • Loading branch information
thakkarV committed Nov 3, 2021
1 parent 4de2c56 commit 7964328
Show file tree
Hide file tree
Showing 2 changed files with 4,388 additions and 4 deletions.
26 changes: 22 additions & 4 deletions bench/device/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,34 @@
# Just the default configurations
add_executable(cuasr_bench_srgemm_device_defaults
# SM50 defualt configurations
add_executable(cuasr_bench_srgemm_device_sm50_defaults
sm50_defaults.cu
)
target_include_directories(
cuasr_bench_srgemm_device_defaults
cuasr_bench_srgemm_device_sm50_defaults
PRIVATE
${PROJECT_SOURCE_DIR}/include/
${PROJECT_SOURCE_DIR}/tools/include/
${PROJECT_SOURCE_DIR}/cutlass/include/
${PROJECT_SOURCE_DIR}/cutlass/tools/util/include/
)
target_link_libraries(cuasr_bench_srgemm_device_defaults
target_link_libraries(cuasr_bench_srgemm_device_sm50_defaults
benchmark
benchmark_main
${cuASR_LIB_NAME}
)

# SM80 defualt configurations
add_executable(cuasr_bench_srgemm_device_sm80_defaults
sm80_defaults.cu
)
target_include_directories(
cuasr_bench_srgemm_device_sm80_defaults
PRIVATE
${PROJECT_SOURCE_DIR}/include/
${PROJECT_SOURCE_DIR}/tools/include/
${PROJECT_SOURCE_DIR}/cutlass/include/
${PROJECT_SOURCE_DIR}/cutlass/tools/util/include/
)
target_link_libraries(cuasr_bench_srgemm_device_sm80_defaults
benchmark
benchmark_main
${cuASR_LIB_NAME}
Expand Down
Loading

0 comments on commit 7964328

Please sign in to comment.