P4 to Git Change 1414382 by cpaquot@cpaquot-ocl-lc-lnx on 2017/05/25 15:55:25
SWDEV-121486 - Create a metadata structure
This is needed for UGL/CL interop because in UGL, they do not pass the metadata
to KMD/KFD via amdgpu_bo_set_metadata. UGL instead will pass the SRD info
via the mesa_in.out_driver_data.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#286 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.hpp#9 edit
[ROCm/clr commit: 2839999356]
This commit is contained in:
@@ -160,6 +160,8 @@ static const char* OclExtensionsString[] = {"cl_khr_fp64 ",
|
||||
"cl_amd_liquid_flash ",
|
||||
NULL};
|
||||
|
||||
static constexpr int AmdVendor = 0x1002;
|
||||
|
||||
namespace device {
|
||||
class ClBinary;
|
||||
class BlitManager;
|
||||
|
||||
Referens i nytt ärende
Block a user