Class JCudaKernels

  • public class JCudaKernels
    extends Object
    • Method Detail

      • launchKernel

        public void launchKernel​(String name,
                                 ExecutionConfig config,
                                 Object... arguments)
        Setups the kernel parameters and launches the kernel using cuLaunchKernel API. This function currently supports two dimensional grid and blocks.
        name - name of the kernel
        config - execution configuration
        arguments - can be of type Pointer, long, double, float and int
      • checkResult

        public static void checkResult​(int cuResult)