-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement
quantizeToF16
f32 tests (#1828)
Adds tests for quantizeToF16 and related infrastructure Implements f16 support in the framework as needed for quantizeToF16 Adds petamoriken/float16 v3.6.6 Upstream https://github.com/petamoriken/float16 This adds native-like float16 support for implementing quantizeToF16 tests, and future f16 work. Fixes #1812 Fixes #1200
- Loading branch information
Showing
18 changed files
with
2,246 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/src/external/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# External Modules | ||
|
||
This directory contains external modules that are used by the WebGPU | ||
CTS. These are included in the repo, as opposed to being fetched via a | ||
package manager or CDN, so that there is a single canonical source of | ||
truth for the CTS tests and the CTS tests can be run as a standalone | ||
suite without needing to pull from a CDN or similar process. | ||
|
||
## Adding modules | ||
|
||
Each module that is added should be done consciously with a clear | ||
reasoning on what the module is providing, since the bar for adding | ||
new modules should be relatively high. | ||
|
||
The module will need to be licensed via a compatible license to the | ||
BSD-3 clause & W3C CTS licenses that the CTS currently is covered by. | ||
|
||
It is preferred to use a single source build of the module if possible. | ||
|
||
In addition to the source for the module a LICENSE file should be | ||
included in the directory clearly identifying the owner of the module | ||
and the license it is covered by. | ||
|
||
Details of the specific module, including version, origin and purpose | ||
should be listed below. | ||
|
||
## Current Modules | ||
|
||
| **Name** | **Origin** | **License** | **Version** | **Purpose** | | ||
|----------------------|--------------------------------------------------|-------------|-------------|------------------------------------------------| | ||
| petamoriken/float16 | [github](https://github.com/petamoriken/float16) | MIT | 3.6.6 | Fluent support for f16 numbers via TypedArrays | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2017-2021 Kenta Moriuchi | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
Oops, something went wrong.