P4 to Git Change 1206702 by lmoriche@lmoriche_opencl_dev on 2015/11/02 21:40:30
SWDEV-78467 - Don't use lf.h in memory.hpp
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#94 edit
[ROCm/clr commit: c45b77b09e]
This commit is contained in:
@@ -77,7 +77,7 @@ LiquidFlashFile::readBlock(
|
||||
#if defined WITH_LIQUID_FLASH
|
||||
lf_region_descriptor region =
|
||||
{ fileOffset / blockSize(), bufferOffset / blockSize(), size / blockSize() };
|
||||
lf_status status = lfReadFile(dst, size, handle_, 1, ®ion, NULL);
|
||||
lf_status status = lfReadFile(dst, size, (lf_file)handle_, 1, ®ion, NULL);
|
||||
if (lf_success == status) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user