P4 to Git Change 1409878 by lmoriche@lmoriche_palamida on 2017/05/15 19:30:18

SWDEV-121585 - [OCL-LC-ROCm] Merge GitHub pull requests
	- Merged https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/pull/4

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#55 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocbinary.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/os/os_win32.cpp#48 edit


[ROCm/clr commit: 0c526a2e0d]
Este commit está contenido en:
foreman
2017-05-15 19:42:30 -04:00
padre 1ecd94d1f4
commit 11e70960a2
Se han modificado 5 ficheros con 8 adiciones y 8 borrados
@@ -158,7 +158,7 @@ bool AppProfile::init() {
wsAppFileName_ = appName;
delete appName;
delete[] appName;
ParseApplicationProfile();
@@ -27,7 +27,6 @@ class ClBinary : public device::ClBinary {
assert(((0xFFFF8000 & target) == 0) && "ASIC target ID >= 2^15");
uint16_t elf_target = (uint16_t)(0x7FFF & target);
return elfOut()->setTarget(elf_target, amd::OclElf::CAL_PLATFORM);
return true;
}
private:
@@ -585,9 +585,8 @@ bool Buffer::create() {
if (nullptr != owner()->parent()) {
amd::Memory& parent = *owner()->parent();
// Sub-Buffer creation.
roc:
Memory* parentBuffer = static_cast<roc::Memory*>(parent.getDeviceMemory(dev_));
// Sub-Buffer creation.
roc::Memory* parentBuffer = static_cast<roc::Memory*>(parent.getDeviceMemory(dev_));
if (parentBuffer == nullptr) {
LogError("[OCL] Fail to allocate parent buffer");
+1 -1
Ver fichero
@@ -940,7 +940,7 @@ std::string Os::getAppFileName() {
strFileName = strrchr(buff, '\\') ? strrchr(buff, '\\') + 1 : buff;
}
delete buff;
delete[] buff;
return strFileName;
}