Example #1
0
 /// <summary>
 /// Constructs a new compiled kernel in OpenCL source form.
 /// </summary>
 /// <param name="context">The associated context.</param>
 /// <param name="entryPoint">The entry point.</param>
 /// <param name="source">The source code.</param>
 /// <param name="version">The OpenCL C version.</param>
 public CLCompiledKernel(
     Context context,
     SeparateViewEntryPoint entryPoint,
     string source,
     CLCVersion version)
     : base(context, entryPoint)
 {
     Source   = source;
     CVersion = version;
 }
Example #2
0
 internal GeneratorArgs(
     CLBackend backend,
     CLTypeGenerator typeGenerator,
     SeparateViewEntryPoint entryPoint,
     ABI abi)
 {
     Backend       = backend;
     TypeGenerator = typeGenerator;
     EntryPoint    = entryPoint;
     ABI           = abi;
 }
Example #3
0
 internal GeneratorArgs(
     CLBackend backend,
     CLTypeGenerator typeGenerator,
     SeparateViewEntryPoint entryPoint)
 {
     Backend             = backend;
     TypeGenerator       = typeGenerator;
     EntryPoint          = entryPoint;
     KernelTypeGenerator = new CLKernelTypeGenerator(
         typeGenerator,
         entryPoint);
 }
Example #4
0
 internal GeneratorArgs(
     CLBackend backend,
     CLTypeGenerator typeGenerator,
     SeparateViewEntryPoint entryPoint,
     in AllocaKindInformation sharedAllocations,