P4 to Git Change 1306648 by lmoriche@lmoriche_opencl_dev on 2016/08/24 15:17:25
SWDEV-94610 - [OpenCL/LC] Program Manager: Implement multi-file linking and separate compilation. Implement saving and loading programs, libraries, and executables. Affected files ... ... //depot/stg/opencl/drivers/opencl/make/clang.git/include/clang/Config/config.h#3 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#277 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#9 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#7 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#12 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#7 edit ... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#82 edit
This commit is contained in:
@@ -80,8 +80,7 @@ Program::addDeviceProgram(Device& device, const void* image, size_t length,
|
||||
}
|
||||
#if defined(WITH_LIGHTNING_COMPILER)
|
||||
if (image != NULL && length != 0 && amd::isElfMagic((const char *) image)) {
|
||||
assert(!"FIMXE_Wilkins: check the code below");
|
||||
return CL_INVALID_BINARY;
|
||||
// TODO: Wilkin: extract compiler options from the .comment section
|
||||
}
|
||||
#else // !defined(WITH_LIGHTNING_COMPILER)
|
||||
if (image != NULL && length != 0 && aclValidateBinaryImage(image, length, BINARY_TYPE_ELF)) {
|
||||
|
||||
Referens i nytt ärende
Block a user