Can I call C library functions from the OpenCL kernel?

I am going to parallelize the encryption / decryption process using OpenCL.

For this, I just want to use the existing openSSL crypto library function instead of creating my own algorithms such as AES, DES.

So, I'm going to call openSSL cryptography from the OpenCL kernel. Could you clarify my question, is this possible or not?

+4
source share
1 answer

No, you are limited to the built-in functions and functions that you define at the kernel level. This immediately becomes clear (in the case of the GPU) if you see that the host and device are two separate permissions that can only communicate through the command queue and the calls associated with it.

+6
source

All Articles