Hi!!!

First of all, congratulations for the work you've done, these bindings
are awesome :) Regarding my problem, I'm trying to write a naive
implementation of the AES encryption algorithm using ECB mode. So far,
I've only written the code for the key scheduling (that is, given the
encryption key, compute a longer key used for each encryption round.
Wikipedia has all the info :) ). Here the code:

- python host: http://pastebin.com/uDyAPRd5
- kernel code: http://pastebin.com/ksRKk1HY

Before writing the remaining code, I wanted to have a functional serial
AES encryption of a single block, and only afterwards focus on
parallelization of the algorithm and all optimization like using local
memory etc. That's why I'm only working on global memory and with a
global work group size of (1,1). The problem is that the code
successfully compiles, but the enqueue_copy used for retrieving the
result of the key scheduling always returns an empty numpy array. Some
info about my development environment:

- pyopencl compiled from git (had the same error with 2011.2 version)
- AMD-APP-SDK-v2.5
- Fedora 16

The device used is a mobility radeon 4570 gpu.

Thanks for any hint,
Daniele


_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl

Reply via email to