What is the easiest way to run working CUDA code in Java?
问题 I have some CUDA code I made in C and it seems to be working fine(its plain old C and not C++). I’m running a Hadoop cluster and wanted to consolidate my code so ideally I’m looking to run it within Java(long story short: system is too complex). Currently the C program parses a log file then takes a few thousand lines, processes each line in parallel on the GPU and then saves specific errors/transactions into a linked list then writes them to the drive. What is the best approach to do this?