API
IREE::HAL
HAL
Enumerations
| Name | Description |
|---|---|
MetalTargetPlatform | Metal target platforms. |
MetalTargetPlatform
enum MetalTargetPlatformDefined in compiler/plugins/target/MetalSPIRV/MetalTargetPlatform.h:15
Metal target platforms.
| Value | Description |
|---|---|
macOS | |
iOS | |
iOSSimulator |
Functions
| Return | Name | Description |
|---|---|---|
std::optional< llvm::StringRef > | getMetalLanguageStandard static | |
LogicalResult | runSystemCommand static | Returns the given command via system shell. |
std::unique_ptr< llvm::MemoryBuffer > | compileMSLToMetalLib |
getMetalLanguageStandard
static
static std::optional< llvm::StringRef > getMetalLanguageStandard(uint32_t languageVersion)Defined in compiler/plugins/target/MetalSPIRV/MSLToMetalLib.cpp:23
runSystemCommand
static
static LogicalResult runSystemCommand(llvm::StringRef command)Defined in compiler/plugins/target/MetalSPIRV/MSLToMetalLib.cpp:76
Returns the given command via system shell.
compileMSLToMetalLib
std::unique_ptr< llvm::MemoryBuffer > compileMSLToMetalLib(MetalTargetPlatform targetPlatform, uint32_t languageVersion, llvm::StringRef mslCode, llvm::StringRef entryPoint)Defined in compiler/plugins/target/MetalSPIRV/MSLToMetalLib.cpp:88
