I have included the source of encryption functions from openssl library into my C program and defined them as device functions. The kernel function in my program is giving calls to these device functions. The device functions are in a different .cu file which I have included in the main .cu file. Now while compiling the program I get this error. Has anybody experienced such type of error?
Openssl probably doesn’t have codepaths optimized for GPUs, so any inline assembly will be for CPUs (likely x86/AMD64). The above error message is just one consequence of trying to use assembly for the wrong processor type.
Check if there is a way to disable processor specific optimizations and fall back to a generic implementation.