|
|
|
![]() |
AMD Developer Forums | ![]() |
|
help :
faq :
home
|
||
|
Latest News:
|
latest topics : statistics | |


|
Topic Title: cl.hpp != cl.hpp ?!?!?! Topic Summary: Differencies, that should not be... Created On: 11/05/2009 05:48 AM Status: Post and Reply |
Linear : Threading : Single : Branch |
Search Topic |
Topic Tools
|
|
|
|
|
I found out, that the cl.hpp that Ati Stream installed to my system, is not exactly that, what is in the Khronos group, OpenCL API registry. I searched for differencies, and found some. Code:
At the beginning, there are some differencies, by the copyrights comments. But because they are comments, its nothing in particular.
The next, and first issue is: Khronos, row 3146: &::clGetKernelWorkGroupInfo, object_, device(), name, param), Stream, row 3125: &::clGetKernelWorkGroupInfo, device(), object_, name, param), The order of the arguments is not exact the same. I don't really know if it matters or not, but i thought i mention it... And the next, and last issue is (surprise), with one of the getWorkGroupInfo functors: Khronos, starting at row 3169: detail::param_traits<detail::cl_kernel_work_group_info, name>::param_type getWorkGroupInfo(const Device& device, cl_int* err = NULL) const { typename detail::param_traits< detail::cl_kernel_work_group_info, name>::param_type param; cl_int result = getWorkGroupInfo(device, name, ¶m); if (err != NULL) { *err = result; } return param; } And Stream, starting at row 3148: detail::param_traits<detail::cl_kernel_work_group_info, name>::param_type getWorkGroupInfo(cl_int* err = NULL) const { typename detail::param_traits< detail::cl_kernel_work_group_info, name>::param_type param; cl_int result = getWorkGroupInfo(name, ¶m); if (err != NULL) { *err = result; } return param; } I hope this helps to correct this error in the future relases of Stream 2.0! |
|
|
|
|
|
|
|
|
Thank you Stib! We alredy knew about the issue, but it is nice of you, for trying to notice us. Keep up the good work, and learn pal!
... |
|
|
|
|
|
AMD Developer Forums
» Software Development Topics » OpenCL™
»
cl.hpp != cl.hpp ?!?!?!
|
Topic Tools |
FuseTalk Hosting Executive Plan v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.
| Contact AMD | Terms and Conditions | Forum Rules | ©2009 Advanced Micro Devices, Inc. | Privacy | Trademark information |