Skip to content

Commit

Permalink
add the full sgemm kernel example
Browse files Browse the repository at this point in the history
  • Loading branch information
cctry committed Apr 9, 2024
1 parent 0224577 commit 4c1bf11
Show file tree
Hide file tree
Showing 292 changed files with 253 additions and 102,272 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# PyCache files
__pycache__/
cutlass_library.egg-info/
build/
build/
.cache/
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ function(target_link target_name)
target_link_libraries(${target_name} PRIVATE hip::host MIOpen)
endfunction()

set(SOURCE_HEADERS ${CMAKE_CURRENT_SOURCE_DIR})

function(target_include target_name)
target_include_directories(test_distance PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include)
target_include_directories(${target_name} PRIVATE ${SOURCE_HEADERS}/include)
endfunction()

add_subdirectory(examples)
54 changes: 0 additions & 54 deletions cmake/CTestTestfile.configure.cmake

This file was deleted.

43 changes: 0 additions & 43 deletions cmake/CTestTestfile.test.configure.cmake

This file was deleted.

9 changes: 0 additions & 9 deletions cmake/NvidiaCutlassConfig.cmake.in

This file was deleted.

42 changes: 0 additions & 42 deletions cmake/NvidiaCutlassPackageConfig.cmake

This file was deleted.

51 changes: 0 additions & 51 deletions cmake/googletest.cmake

This file was deleted.

49 changes: 0 additions & 49 deletions cmake/nop.cu

This file was deleted.

34 changes: 0 additions & 34 deletions cmake/version_extended.h.in

This file was deleted.

3 changes: 3 additions & 0 deletions examples/01_full_kernel/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
add_executable(01_full_kernel main.cpp)
target_link(01_full_kernel)
target_include(01_full_kernel)
Loading

0 comments on commit 4c1bf11

Please sign in to comment.