tag:blogger.com,1999:blog-9054609445298212106.post1897712914211668377..comments2018-10-19T00:54:01.687+10:30Comments on A Hacker's Craic: AparapiNotZedhttp://www.blogger.com/profile/09469760565180198154noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-9054609445298212106.post-58474117703920915622012-03-07T08:04:35.416+10:302012-03-07T08:04:35.416+10:30I posted this to the list but it either only went ...I posted this to the list but it either only went to you or got swallowed by the googlenets: but basically, how would the following code map to aparapi+extension, would it (or could it?) be any easier and clearner to use than JOCL in a case like this:<br /><br />http://code.google.com/p/socles/source/browse/trunk/socles/src/au/notzed/socle/dct/DCT8x8.java<br />http://code.google.com/p/socles/NotZedhttps://www.blogger.com/profile/09469760565180198154noreply@blogger.comtag:blogger.com,1999:blog-9054609445298212106.post-82211462972321316822012-03-07T07:50:06.536+10:302012-03-07T07:50:06.536+10:30Ahh yeah that looks better. The more I thought ab...Ahh yeah that looks better. The more I thought about it the more I thought tool support is the real biggy. Also that adding some extra annotations weren't really going to bust the api in any ugly ways either. I still think it'd be useful to have the same annotations on individual kernels as well and when doing so remove the auto-generated prototypes - sometimes you have code that'sNotZedhttps://www.blogger.com/profile/09469760565180198154noreply@blogger.comtag:blogger.com,1999:blog-9054609445298212106.post-9920714993000799282012-03-07T06:56:46.018+10:302012-03-07T06:56:46.018+10:30I added a couple of annotations to support some co...I added a couple of annotations to support some concerns.<br /><br />First @OpenCL.Source on the interface to provide source as one complete String.<br /><br />Also @OpenCL.Resource on the interface to reference a file/url containing the source for the whole interface. <br /><br />Maybe this will clean it up a little. Take a look and let me know...<br /><br />http://code.google.com/p/aparapi/Gary Frosthttps://www.blogger.com/profile/12935992295051239076noreply@blogger.comtag:blogger.com,1999:blog-9054609445298212106.post-28114505641942756692012-03-06T11:05:41.269+10:302012-03-06T11:05:41.269+10:30Hi Gary,
If I thought people were going to read i...Hi Gary,<br /><br />If I thought people were going to read it I might've been a bit less ranty :) But it's published, so no worries linking.<br /><br />Although I don't hesitate to make sweeping generalisations without having used the product ;-); specific observations would benefit from having tried it. I think perhaps I will try to convert some of my socles code across to both NotZedhttps://www.blogger.com/profile/09469760565180198154noreply@blogger.comtag:blogger.com,1999:blog-9054609445298212106.post-85528271280555551002012-03-06T05:41:40.870+10:302012-03-06T05:41:40.870+10:30This is very interesting feedback. I am the Apara...This is very interesting feedback. I am the Aparapi developer (and presenter) and in retrospect I do think I may have been a little harsh on Java developer capabilities. So apologies there. <br /><br />I linked to this from the Aparapi project page. I hope that is O.K. <br /><br />Also I would appreciate your feedback on the proposed extension mechanism to allow developers to offer their own Gary Frosthttps://www.blogger.com/profile/12935992295051239076noreply@blogger.comtag:blogger.com,1999:blog-9054609445298212106.post-83488917252440573642012-03-06T05:34:07.474+10:302012-03-06T05:34:07.474+10:30Whilst I generally agree with your comments regard...Whilst I generally agree with your comments regarding Java developers. I think that I ( I am the Aparapi presenter/developer) was a little hard on the average Java developer. I might dispute that Java developers familiar with Object references understand pointers, but your point regarding XML was well taken, and generally Java folk are pragmatic and will use other languages if beneficial. So I Gary Frosthttps://www.blogger.com/profile/12935992295051239076noreply@blogger.com