P4 to Git Change 1136311 by rili@rili_opencl_stg on 2015/03/31 14:29:39

EPR #416125 - Remove extension cl_amd_open_video from build.
	                         All codes related to this extension will be removed later

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/Makefile#6 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_open_video_amd.h#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#242 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#505 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsadevice.cpp#90 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsadevice.hpp#47 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsadevice.cpp#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.cpp#19 edit
Этот коммит содержится в:
foreman
2015-03-31 15:00:52 -04:00
родитель 11dbd14b90
Коммит 3699162bef
4 изменённых файлов: 10 добавлений и 4 удалений
+2
Просмотреть файл
@@ -146,7 +146,9 @@ OclExtensionsString[] = {
#endif
"cl_khr_image2d_from_buffer ",
"cl_amd_image2d_from_buffer_read_only ",
#if cl_amd_open_video
"cl_amd_open_video ",
#endif // cl_amd_open_video
"",
"cl_amd_bus_addressable_memory ",
"cl_amd_c11_atomics ",
+2 -2
Просмотреть файл
@@ -1075,9 +1075,9 @@ Device::initializeHeapResources()
// Create a synchronized transfer queue
xferQueue_ = new VirtualGPU(*this);
if (!(xferQueue_ && xferQueue_->create(
false,
false
#if cl_amd_open_video
NULL
,NULL
#endif // cl_amd_open_video
))) {
delete xferQueue_;
+1 -1
Просмотреть файл
@@ -884,7 +884,7 @@ Device::xferQueue() const
// Create virtual device for internal memory transfer
Device* thisDevice = const_cast<Device*>(this);
thisDevice->xferQueue_ = reinterpret_cast<VirtualGPU*>(
thisDevice->createVirtualDevice(false, false, NULL));
thisDevice->createVirtualDevice(false, false));
if (!xferQueue_) {
LogError("Couldn't create the device transfer manager!");
}
+5 -1
Просмотреть файл
@@ -184,7 +184,11 @@ DeviceQueue::create()
virtualDevice_ = device().createVirtualDevice(
properties().test(CL_QUEUE_PROFILING_ENABLE),
!InteropQueue, NULL, size_);
!InteropQueue
#if cl_amd_open_video
, NULL
#endif // cl_amd_open_video
, size_);
if (virtualDevice_ != NULL) {
result = true;