Skip to content
Snippets Groups Projects
Unverified Commit 203a1c06 authored by psychocrypt's avatar psychocrypt Committed by GitHub
Browse files

Merge pull request #2335 from Spudz76/dev-fixosxcuda

Repair OSX CUDA searched-path for NVRTC
parents c34259cc 4277a3c9
No related branches found
No related tags found
No related merge requests found
......@@ -84,10 +84,11 @@ if(CUDA_ENABLE)
/usr
/usr/local/cuda
PATH_SUFFIXES
lib64
lib64
lib/x64
lib/Win32
lib64/stubs)
lib64/stubs
lib)
#nvrtc
find_library(CUDA_NVRTC_LIB
......@@ -104,7 +105,8 @@ if(CUDA_ENABLE)
PATH_SUFFIXES
lib64
lib/x64
lib/Win32)
lib/Win32
lib)
list(APPEND BACKEND_TYPES "nvidia")
option(XMR-STAK_LARGEGRID "Support large CUDA block count > 128" ON)
......@@ -322,7 +324,7 @@ endif()
################################################################################
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
set_source_files_properties(xmrstak/backend/cpu/crypto/cn_gpu_avx.cpp PROPERTIES COMPILE_FLAGS "-mavx2")
set_source_files_properties(xmrstak/backend/cpu/crypto/cn_gpu_avx.cpp PROPERTIES COMPILE_FLAGS "-mavx2")
endif()
################################################################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment