Hi, I used N7 and OpenCL 1.1 version.
When I used "CL_MEM_ALLOC_HOST_PTR" in clCreateBuffer() and ran kernel code, it returned "-59" meaning "CL_INVALID_OPERATION".
Was it from OpenCL version or GPU capability?
Thanks.
Hi, I used N7 and OpenCL 1.1 version.
When I used "CL_MEM_ALLOC_HOST_PTR" in clCreateBuffer() and ran kernel code, it returned "-59" meaning "CL_INVALID_OPERATION".
Was it from OpenCL version or GPU capability?
Thanks.
Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.
Are you sure you set parameters appropriately? I typically see this when I make a programming error. You would receive a CL_OUT_OF_RESOURCES error if you tried to allocate GPU capability.
Please refer to the documentation:
https://www.khronos.org/registry/cl/sdk/1.0/docs/man/xhtml/clCreateBuffe...
Are you sure you set parameters appropriately? I typically see this when I make a programming error. You would receive a CL_OUT_OF_RESOURCES error if you tried to allocate GPU capability.
Please refer to the documentation:
https://www.khronos.org/registry/cl/sdk/1.0/docs/man/xhtml/clCreateBuffe...
I have tested this emulator on Android adreno 320, with most of the games, this phone acts like my pc (maybe just a bit lower), so any phone with more power (GPU&CPU) will be do the best. Check phones benchmarks to know this.
thanks, spytoapp.com