Enum KernelSourceType
- Namespace
- DotCompute.Abstractions
- Assembly
- DotCompute.Abstractions.dll
Specifies the source type of a kernel.
public enum KernelSourceType
Fields
CSharp = 0C# source code.
Cuda = 1CUDA C source code.
HLSL = 4HLSL shader code.
LLVM = 7LLVM IR code.
Metal = 3Metal Shading Language source code.
Native = 8Native machine code.
OpenCL = 2OpenCL C source code.
PTX = 6PTX assembly code.
SpirV = 5SPIR-V bytecode.