Results 1 to 2 of 2

Thread: Aes in OpenCL

  1. #1
    Junior Member
    Join Date
    Feb 2018
    Posts
    4

    Aes in OpenCL

    Hello everyone.
    I am working on implementation of AES algorithm (ECB) in OpenCL. This is for my college diploma. So far I managed to implement AES in serial execution. And it is working very well. Now I need to transform that to work in parallel mode. I managed to build project and run it but it not calculating right.
    I don't know how to transform it work as fast as it can, to use all available thread on GPU.


    Here is my source code. https://gist.github.com/bokibo/d8b4d...7ccd542ce143d7

    I have three file, aes.cpp the main file for project, device.cl is kernel file for parallel execution and const.h is header file for constants I used.

    device.cl is file I need to change for encryption to work. Can someone explain me how to implement operations add round key, subbytes, mixcolumns in parallel mode?
    I am reading how to multiple matrix in OpenCL, hope that will help me somehow.

  2. #2
    Junior Member
    Join Date
    Feb 2018
    Posts
    4
    Is it really possible that no one knows nothing? Can someone just explain me basic of parallel execution? How to find out how many threads I have on my GPU, how to arrange those thread for best performance, how to use those threads etc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean