Fix T54105: random walk SSS missing in branched indirect paths.
[blender-staging.git] / intern / cycles / app / cycles_cubin_cc.cpp
index 73d0cd5130c0e84b833736859dca7ce7edd40161..3c83bf2dae3ad8803abbde93ef853e1be47c91bb 100644 (file)
@@ -162,7 +162,7 @@ bool link_ptxas(CompilationSettings &settings)
        if (settings.verbose)
        {
                ptx += " --verbose";
-               printf(ptx.c_str());
+               printf("%s\n", ptx.c_str());
        }
        
        int pxresult = system(ptx.c_str());
@@ -186,7 +186,7 @@ bool init(CompilationSettings &settings)
        }
 #endif
 
-       int cuewresult = cuewInit();
+       int cuewresult = cuewInit(CUEW_INIT_NVRTC);
        if(cuewresult != CUEW_SUCCESS) {
                fprintf(stderr, "Error: cuew init fialed (0x%x)\n\n", cuewresult);
                return false;