-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Add INT8, INT16, and UINT8 type support for CUDA TopK operator #27862
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
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 |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
|
|
||
| #define TOPK_IMPL_TYPE int16_t | ||
| #include "topk_impl.cuh" | ||
|
Check warning on line 5 in onnxruntime/core/providers/cuda/math/topk_impl_i16.cu
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
|
|
||
| #define TOPK_IMPL_TYPE int8_t | ||
| #include "topk_impl.cuh" | ||
|
Check warning on line 5 in onnxruntime/core/providers/cuda/math/topk_impl_i8.cu
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
|
|
||
| #define TOPK_IMPL_TYPE uint8_t | ||
| #include "topk_impl.cuh" | ||
|
Check warning on line 5 in onnxruntime/core/providers/cuda/math/topk_impl_u8.cu
|
||
Uh oh!
There was an error while loading. Please reload this page.