Table of Contents

Enum KernelSourceType

Namespace
DotCompute.Abstractions
Assembly
DotCompute.Abstractions.dll

Specifies the source type of a kernel.

public enum KernelSourceType

Fields

CSharp = 0

C# source code.

Cuda = 1

CUDA C source code.

HLSL = 4

HLSL shader code.

LLVM = 7

LLVM IR code.

Metal = 3

Metal Shading Language source code.

Native = 8

Native machine code.

OpenCL = 2

OpenCL C source code.

PTX = 6

PTX assembly code.

SpirV = 5

SPIR-V bytecode.