Skip to content

Commit cfbb6d4

Browse files
committed
Updated cmake to not require cuda
1 parent 49a395a commit cfbb6d4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ endif()
3535
project(tapp-reference
3636
VERSION ${TAPP_REFERENCE_VERSION}
3737
DESCRIPTION "Reference Implementation of TAPP (Tensor Algebra Processing Primitives)"
38-
LANGUAGES C CUDA
38+
LANGUAGES C
3939
HOMEPAGE_URL "https://github.com/TAPPOrg/")
4040

4141
include(GNUInstallDirs)
@@ -195,6 +195,9 @@ endif()
195195
# ----------------------------------------------------------------------------
196196
# cutensor
197197
if (TAPP_REFERENCE_BUILD_CUTENSOR_BINDS)
198+
include(CheckLanguage)
199+
check_language(CXX)
200+
check_language(CUDA)
198201
if(CMAKE_CUDA_COMPILER)
199202
enable_language(CXX)
200203
enable_language(CUDA)

0 commit comments

Comments
 (0)