提交 383bc8a9 编写于 作者: M Matt Pharr

Fix GPU build, for real this time.

上级 8d004f2f
......@@ -76,7 +76,7 @@ void InitLogging(LogLevel level, std::string logFile, bool useGPU) {
#ifdef PBRT_BUILD_GPU_RENDERER
if (useGPU)
CUDA_CHECK(cudaMemcpyToSymbol(LOGGING_LogLevelGPU, &logging::logLevel,
sizeof(logging::LogLevel)));
sizeof(logging::logLevel)));
#endif
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册