|
MLIR 22.0.0git
|
#include "mlir/Target/SPIRV/Serialization.h"
Public Attributes | |
| bool | emitSymbolName = true |
| Whether to emit OpName instructions for SPIR-V symbol ops. | |
| bool | emitDebugInfo = false |
| Whether to emit OpLine location information for SPIR-V ops. | |
| bool | saveModuleForValidation = false |
| Whether to store a module to an additional file during serialization. | |
| std::string | validationFilePrefix = "" |
| A prefix prepended to the file used when saveModuleForValidation is set to true. | |
Definition at line 26 of file Serialization.h.
Whether to emit OpLine location information for SPIR-V ops.
Definition at line 30 of file Serialization.h.
Whether to emit OpName instructions for SPIR-V symbol ops.
Definition at line 28 of file Serialization.h.
Whether to store a module to an additional file during serialization.
This is used to store the SPIR-V module to the file in addition to writing it to os passed from the calling tool. This saved file is later used for validation.
Definition at line 35 of file Serialization.h.
| std::string mlir::spirv::SerializationOptions::validationFilePrefix = "" |
A prefix prepended to the file used when saveModuleForValidation is set to true.
This can either be a file prefix, or a relative or or an absolute path followed by the prefix. For example:
Definition at line 51 of file Serialization.h.