public class JCudaKernels extends Object
Modifier and Type | Method and Description |
---|---|
static void |
checkResult(int cuResult) |
void |
launchKernel(String name,
ExecutionConfig config,
Object... arguments)
Setups the kernel parameters and launches the kernel using cuLaunchKernel API.
|
public void launchKernel(String name, ExecutionConfig config, Object... arguments)
name
- name of the kernelconfig
- execution configurationarguments
- can be of type Pointer, long, double, float and intpublic static void checkResult(int cuResult)
Copyright © 2020 The Apache Software Foundation. All rights reserved.