OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU.
Announcements
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.
1719 Discussions

parallelising aes algorithm using opencl

shankar1990
Beginner
710 Views
We are trying to parallelise aes crypting algorithm, and our guide is asking us to do in open cl please help me out in doing so...
0 Kudos
2 Replies
Boaz_O_Intel
Employee
710 Views
Hi,

In general you should first understand at theoritcal level how to parallelise your algorithmand identify the synch points between the different kernels. Ofcourse, You should look for an approach that will eliminate such synchs or at least reduce them to a minimum.
Once you figure this out you should decide what is the role of a Work Item inside a specific kernel,how many work item exist inside a work group,and how many work groups are required to solve your algorithm. You should bare in mind that OpenCL provide synch mechanismsbetween work items within a work group but does not provide a way to synch between work items from 2 different work groups.

This is all very general stuff and is probably not new to you. If you could provide more information (if possible) regarding the dilemmas you have at the moment, my answer could be a bit more specific (and probably more helpful)?

Thanks for the post,
Boaz

0 Kudos
Evgeny_F_Intel
Employee
710 Views
Hi,

The problem is not new. Please try "AES OpenCL" on the web and you will find a lot of papers.
0 Kudos
Reply