-
Notifications
You must be signed in to change notification settings - Fork 15.2k
[mlir][spirv] Add 8-bit float type emulation #148811
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
4b6d70d
4bdd204
6a3d341
a656137
730bace
4167a4a
357c290
9ce85ef
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -39,6 +39,10 @@ struct SPIRVConversionOptions { | |
| /// The number of bits to store a boolean value. | ||
| unsigned boolNumBits{8}; | ||
|
|
||
| /// Whether to emulate unsupported floats with integer types of same bit | ||
| /// width. | ||
| bool emulateUnsupportedFloatTypes{true}; | ||
|
||
|
|
||
| /// How sub-byte values are storaged in memory. | ||
| SPIRVSubByteTypeStorage subByteTypeStorage{SPIRVSubByteTypeStorage::Packed}; | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.