Cycles: Initial support for OpenCL capabilities reports

For now it's just generic information, still need to expose memory, workgorup
sizes and so on.
This commit is contained in:
2015-06-05 14:13:59 +02:00
parent d5bca524d5
commit 28f798f86e
3 changed files with 72 additions and 6 deletions

View File

@@ -1163,7 +1163,7 @@ string device_cuda_capabilities(void)
if(result != CUDA_ERROR_NO_DEVICE) {
return string("Error initializing CUDA: ") + cuewErrorString(result);
}
return "No CUDA device found";
return "No CUDA device found\n";
}
int count;