Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/device/device_cuda.cpp
| Show First 20 Lines • Show All 109 Lines • ▼ Show 20 Lines | public: | ||||
| } | } | ||||
| static bool have_precompiled_kernels() | static bool have_precompiled_kernels() | ||||
| { | { | ||||
| string cubins_path = path_get("lib"); | string cubins_path = path_get("lib"); | ||||
| return path_exists(cubins_path); | return path_exists(cubins_path); | ||||
| } | } | ||||
| virtual bool show_samples() const | |||||
brecht: `{` on new line. | |||||
| { | |||||
| /* The CUDADevice only processes one tile at a time, so showing samples is fine. */ | |||||
| return true; | |||||
| } | |||||
| /*#ifdef NDEBUG | /*#ifdef NDEBUG | ||||
| #define cuda_abort() | #define cuda_abort() | ||||
| #else | #else | ||||
| #define cuda_abort() abort() | #define cuda_abort() abort() | ||||
| #endif*/ | #endif*/ | ||||
| void cuda_error_documentation() | void cuda_error_documentation() | ||||
| { | { | ||||
| if(first_error) { | if(first_error) { | ||||
| ▲ Show 20 Lines • Show All 1,447 Lines • Show Last 20 Lines | |||||
{ on new line.