P4 to Git Change 1062579 by jgolds@jgolds_MSDNfractal5_opencl2 on 2014/08/04 14:01:10

ECR #304775 - Allow disabling of the CPU device when CPU_MAX_COMPUTE_UNITS is 0.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpudevice.cpp#265 edit
Ta zmiana jest zawarta w:
%! (template.HTML=foreman)złożyło 2014-08-04 14:08:25 -04:00
1 rodzic fe4d2c12a1
złożenie b9d45ad9c5
Plik 1 zmieniony
+4
+4
Wyświetl plik
@@ -54,6 +54,10 @@ Device::tearDown()
bool
Device::init()
{
// Allow disabling of the CPU device
if (CPU_MAX_COMPUTE_UNITS == 0)
return false;
const char *library = getenv("COMPILER_LIBRARY");
aclCompilerOptions opts = {
sizeof(aclCompilerOptions_0_8),