Hi, please i am working on 3 cryptographic algorithms (AES, SHA 2 and KECCAK) that utilize nocl libraries so as to run these algorithm on a cheri enabled simulator, but i have a problem. i cant seem to see any issues with the code code that i have written. I have added the .cpp file to the Histogram folder then i edited the makefile so that the .cpp file that will be called is one of the cryptographic algorithms (aes.cpp). It would be really helpful if the below questions can be addressed:
1) Is the way i am building and running the new .cpp file correct based off my explanation above?
2) I'm having troubles with the kernel aspect for the AES cuda conversion to NOCL. We write kernels in Nocl but the way the kernels are invoked are a bit strange because they're assigning values and then using a function to invoke the kernel but in the cuda that are just functions inside another kernel then how can I call a kernel inside another kernel if the only way that I can invoke it is inside the main function.
3) It would also be helpful if you can clarify the matter with how to assign which kernels go to the host CPU and GPU.
Hi, please i am working on 3 cryptographic algorithms (AES, SHA 2 and KECCAK) that utilize nocl libraries so as to run these algorithm on a cheri enabled simulator, but i have a problem. i cant seem to see any issues with the code code that i have written. I have added the .cpp file to the Histogram folder then i edited the makefile so that the .cpp file that will be called is one of the cryptographic algorithms (aes.cpp). It would be really helpful if the below questions can be addressed:
1) Is the way i am building and running the new .cpp file correct based off my explanation above?
2) I'm having troubles with the kernel aspect for the AES cuda conversion to NOCL. We write kernels in Nocl but the way the kernels are invoked are a bit strange because they're assigning values and then using a function to invoke the kernel but in the cuda that are just functions inside another kernel then how can I call a kernel inside another kernel if the only way that I can invoke it is inside the main function.
3) It would also be helpful if you can clarify the matter with how to assign which kernels go to the host CPU and GPU.