title: md5 algorithm in OpenCL
body: <p>I've tried to implement an OpenCL version of the md5 algorithm starting from the version found in the RTF specification, so quickly I've copied the code found <a href="https://www.ietf.org/rfc/rfc1321.txt" rel="nofollow">here</a> and adapted it to my system (so I've modified the definition of UINT4 to achieve a four byte word). The code works fine when is executed as a normal c program. The only change on the OpenCL implementation is that I've rewritten library function like memset or memcpy. But after the run the md5 digest is not the correct one. Any idea? Maybe there is a problem between little and big endian platforms? Or something related to any trick in OpenCL programming? My code, I repeat, is the same that you found in link (same functions, same structs) and the only change is in the library implementation. Thank you for help!</p>