Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions examples/cmake_sample_project/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ set(CMAKE_CUDA_ARCHITECTURES 70)
#set(MATX_EN_VISUALIZATION ON) # Uncomment to enable visualizations
#set(MATX_EN_FILEIO ON) # Uncomment to file IO

# Uncomment this line and point it to the correct path if you added MatX as a subdirectory
# inside your project
# The expected use pattern is to copy the "cmake_sample_project directory" to
# a new development location and then checkout MatX within the copied folder
#
# alternatively you can update "MatX" below with the path to your MatX checkout
add_subdirectory(MatX)

# Use this section is you installed MatX using "make install"
# Use this section if you installed MatX using "make install"
#find_package(matx CONFIG REQUIRED)

add_executable(sample_matx main.cu)
Expand Down
2 changes: 1 addition & 1 deletion examples/cmake_sample_project/main.cu
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ int main(int argc, char **argv) {
a.SetVals({1,2,3,4,5,6,7,8,9,10});

printf("You should see the values 1-10 printed\n");
a.print();
matx::print(a);

#if MATX_ENABLE_VIZ
// If you enabled visualization support, uncomment this line and
Expand Down