P4 to Git Change 1529710 by wchau@wchau_OCL_boltzmann on 2018/03/20 17:05:04

SWDEV-145760 - OCL on ROCm Support for respecting target's xnack setting (subtask of SWDEV-134107)

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#77 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#58 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#41 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#84 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#80 edit


[ROCm/clr commit: 68c299486b]
このコミットが含まれているのは:
foreman
2018-03-20 17:13:51 -04:00
コミット 3f2f0b43ba
8個のファイルの変更89行の追加57行の削除
+5
ファイルの表示
@@ -219,6 +219,11 @@ bool LightningProgram::compileImpl(const std::string& sourceCode,
driverOptions.append(" -mcpu=");
driverOptions.append(dev().deviceInfo().machineTarget_);
// Set xnack option if needed
if (dev().deviceInfo().xnackEnabled_) {
driverOptions.append(" -mxnack");
}
driverOptions.append(options->llvmOptions);
// Set whole program mode