GravatarCommit : 88767726bdf56924c4c13f46bbd00ae558f9eb8b [8876772]
Parents: 0cf463a10b
Auteur : Shilpa Shri <shilpa.shri@samsung.com>
Date : 19 février 2014 13:05:10 UTC+1
Commit Date : 20 février 2014 12:20:45 UTC+1
Labels : HEAD origin/master_r152423 origin/HEAD master_r152423

2014-02-19 Shilpa Shri <shilpa.shri@samsung.com>

WebCLMemobject::getInfo() returns invalid MEM_FLAGS.

Fixed #457

Reviewed by Sharath and Antonio.

Summary :
- Masking out HOST_PTR value obtained from OpenCL.
- Correcting mistake in commit : 0cf463a10b428f9aad950c042f80035fed8a39d8

Conformance test:
conformance/bindingTesting/fetchInfo/cl_memoryObject_getinfo.html

* Modules/webcl/WebCLDevice.cpp:
(WebCore::WebCLDevice::getInfo):
* Modules/webcl/WebCLKernel.cpp:
(WebCore::WebCLKernel::getWorkGroupInfo):
* Modules/webcl/WebCLMemoryObject.cpp:
(WebCore::WebCLMemoryObject::getInfo):