diff options
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | intern/cycles/device/device_cuda.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 13c41330f5a..3f6d867d707 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -519,7 +519,6 @@ if(UNIX AND NOT APPLE) if(WITH_OPENIMAGEIO) set(OPENIMAGEIO "/usr" CACHE PATH "OpenImageIO Directory") - set(OPENIMAGEIO_ROOT_DIR ${OPENIMAGEIO}) find_package(OpenImageIO) set(OPENIMAGEIO_LIBRARIES ${OPENIMAGEIO_LIBRARIES} ${PNG_LIBRARIES} ${JPEG_LIBRARIES} ${TIFF_LIBRARY} ${OPENEXR_LIBRARIES} ${ZLIB_LIBRARIES} ${BOOST_LIBRARIES}) diff --git a/intern/cycles/device/device_cuda.cpp b/intern/cycles/device/device_cuda.cpp index 1438dd67ca5..14c2a765a8e 100644 --- a/intern/cycles/device/device_cuda.cpp +++ b/intern/cycles/device/device_cuda.cpp @@ -242,7 +242,7 @@ public: path_create_directories(cubin); - string command = string_printf("%s -arch=sm_%d%d -m%d --cubin \"%s\" --use_fast_math " + string command = string_printf("\"%s\" -arch=sm_%d%d -m%d --cubin \"%s\" --use_fast_math " "-o \"%s\" --ptxas-options=\"-v\" --maxrregcount=%d --opencc-options -OPT:Olimit=0 -I\"%s\" -DNVCC", nvcc.c_str(), major, minor, machine, kernel.c_str(), cubin.c_str(), maxreg, include.c_str()); |