UnityEngine.BurstModule
The Burst module implements the Burst compiler runtime support for Unity.
Read time 3 minutesLast updated 3 hours ago
Definition
- Type: Module
Classes
Class | Description |
|---|---|
| Aliasing | Compile-time aliasing intrinsics. |
| Arm | Static methods and properties for Arm instruction intrinsics. |
| AssumeRangeAttribute | Can be used to specify that a parameter or return has a range assumption. Assumptions feed directly into the optimizer and allow better codegen. |
| BurstCompileAttribute | This attribute is used to tag jobs or function-pointers as being Burst compiled, and optionally set compilation parameters. |
| BurstCompiler | The burst compiler runtime frontend. |
| BurstCompilerOptions | Options available at Editor time and partially at runtime to control the behavior of the compilation and to enable/disable burst jobs. |
| BurstRuntime | Provides helper intrinsics that can be used at runtime. |
| Common | Common intrinsics that are exposed across all Burst targets. |
| Constant | Compile-time queries intrinsics. |
| Hint | Compile-time hint intrinsics. |
| IgnoreWarningAttribute | Can be used to specify that a warning produced by Burst for a given method should be ignored. |
| Loop | Provides intrinsics for controlling loop vectorization in Burst-compiled code. |
| NoAliasAttribute | Can be used to specify that a parameter to a function, a field of a struct, a struct, or a function return will not alias. (Advanced - see User Manual for a description of Aliasing). |
| SkipLocalsInitAttribute | Skip zero-initialization of local variables. |
| SpmdAttribute | Specifies that multiple calls to a method act as if they are executing in a Single Program, Multiple Data (SPMD) paradigm. |
| X86 | Static methods and properties for X86 instruction intrinsics. |
Structs
Struct | Description |
|---|---|
| f16 | Represents a 16-bit floating point value (half precision) Warning: this type may not be natively supported by your hardware, or its usage may be suboptimal |
| FunctionPointer<T> | A function pointer that can be used from a Burst Job or from regular C#. It needs to be compiled through BurstCompiler.CompileFunctionPointer |
| SharedStatic<T> | A structure that allows to share mutable static data between C# and HPC#. |
| v128 | Represents a 128-bit SIMD value |
| v128x2 | Represents a 256-bit SIMD value (Arm only) (a combination of 2 128-bit values, equivalent to Arm Neon *x2 types) |
| v128x3 | Represents a 384-bit SIMD value (Arm only) (a combination of 3 128-bit values, equivalent to Arm Neon *x3 types) |
| v128x4 | Represents a 512-bit SIMD value (Arm only) (a combination of 4 128-bit values, equivalent to Arm Neon *x4 types) |
| v256 | Represents a 256-bit SIMD value |
| v64 | Represents a 64-bit SIMD value (Arm only) |
| v64x2 | Represents a 128-bit SIMD value (Arm only) (a combination of 2 64-bit values, equivalent to Arm Neon *x2 types) |
| v64x3 | Represents a 192-bit SIMD value (Arm only) (a combination of 3 64-bit values, equivalent to Arm Neon *x3 types) |
| v64x4 | Represents a 256-bit SIMD value (Arm only) (a combination of 4 64-bit values, equivalent to Arm Neon *x4 types) |
Enums
Enum | Description |
|---|---|
| BurstExecutionEnvironment | Represents the types of compiled code that are run on the current thread. |
| FloatMode | Represents the floating point optimization mode for compilation. |
| FloatPrecision | Represents the floating point precision used for certain builtin operations e.g. sin/cos. |
| OptimizeFor | How the code should be optimized. |
Interfaces
Interface | Description |
|---|---|
| IFunctionPointer | Base interface for a function pointer. |