Common Definition
Definition
1 2 3 4 5 6 7 8 9 | enum ExecuteType : int { EXECUTE_NORMAL = 0, EXECUTE_PRELAUNCH, EXECUTE_LAUNCH, }; enum LaunchMode : int { KERNEL_LAUNCH_MODE = 0, GRAPH_LAUNCH_MODE }; |
Parameters
You can choose the API type for launching the ATB operator via the context. Supported options:
- ExecuteType
Member
Description
EXECUTE_NORMAL
Direct launch
EXECUTE_PRELAUNCH
Used for thread-based launch in the first phase
EXECUTE_LAUNCH
Used for thread-based launch in the second phase
You can choose how to launch the ATB operator via the context. Supported options:
- LaunchMode
Member
Description
KERNEL_LAUNCH_MODE
Single-operator launch
GRAPH_LAUNCH_MODE
Graph launch
Parent topic: atb/context.h