diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-11-08 21:53:49 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-11-08 21:53:49 +0400 |
commit | 8cfc17c7cdef0ea6fc3bfc196e317e2cb3add4b0 (patch) | |
tree | eda7f6736c3bfed007f1d7d3124375034cbbacc9 /intern/cycles | |
parent | fb925d9ad330b1562cb201f26e19eca0e77df248 (diff) |
Cycles Merge:
* It seems we have a problem compiling the CUDA kernel at runtime on Windows,
will need to investigate more how to solve this best, CPU render should go
fine though.
* Change OPENIMAGEIO to OPENIMAGEIO_ROOT_DIR on linux for consistency.
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/device/device_cuda.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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()); |