public override void OnLoad(PluginAssemblyPointer ptr) { base.OnLoad(ptr); PluginHost.AddInstruction(new KernelFLInstructionCreator(PluginHost.Database)); if (PluginHost.Database.TryGetClKernel("_arrange", out CLKernel arrangeKernel)) { PluginHost.AddInstruction(new GPUArrangeInstructionCreator(arrangeKernel)); } }