jcuda-vector-add
Base project for test and run CUDA kernel in java environment
Project - template
It is start java developing on CUDA
The project have dependence form jcuda library and other java libs
The core file "JCudaVectorAddKernel.cu" includes a procedure for adding vectors.
c[i] = a[i] + b[i]
it is ecvivalent
resultC[idx] = vectorA[idx] + vectorB[idx]
nvcc compiller generate JCudaVectorAddKernel.ptx file.
The PTX assembler does not use nvcc, it only uses the linker in a low access virtual machine. For example, in a Java project, we can use ptx directly in the
code, we just compile PTX file before running.
About PTX here: https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#syntax
This file envelope in java function.