P4 to Git Change 1308882 by lmoriche@lmoriche_opencl_dev on 2016/08/30 17:43:27
SWDEV-101678 - Create a new instance of the ROCm-OpenCL-Driver for each call to compileImpl and linkImpl. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#202 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#11 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#12 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#5 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#18 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#9 edit
Этот коммит содержится в:
1 родитель
3c523670c6
Коммит
bac3dbc7a8
6 files changed
+59
-49
No files matched your search
@@ -41,7 +41,7 @@ HSAILProgram::compileImpl_LC(const std::string& sourceCode,
|
||||
amd::option::Options* options)
|
||||
{
|
||||
using namespace amd::opencl_driver;
|
||||
Compiler* C = device().compiler();
|
||||
std::auto_ptr<Compiler> C(newCompilerInstance());
|
||||
std::vector<Data*> inputs;
|
||||
|
||||
if (options->isDumpFlagSet(amd::option::DUMP_CL)) {
|
||||
|
||||
Reference in new issue
Block a user