MCPcopy Index your code
hub / github.com/Syncleus/aparapi / compile

Method compile

src/main/java/com/aparapi/Kernel.java:2917–2919  ·  view source on GitHub ↗

Force pre-compilation of the kernel for a given device, without executing it. @param _device the device for which the kernel is to be compiled @return the Kernel instance (this) so we can chain calls @throws CompileFailedException if compilation failed for some reason

(Device _device)

Source from the content-addressed store, hash-verified

2915 * @throws CompileFailedException if compilation failed for some reason
2916 */
2917 public synchronized Kernel compile(Device _device) throws CompileFailedException {
2918 return prepareKernelRunner().compile("run", _device);
2919 }
2920
2921 /**
2922 * Force pre-compilation of the kernel for a given device, without executing it.

Calls 1

prepareKernelRunnerMethod · 0.95