-
Notifications
You must be signed in to change notification settings - Fork 796
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
Dev support char and short dtype #10086
Conversation
可以通过编译吗?我记得有个 clip kernel 会报错 int16_t 没有特化 |
可以呀。 |
Code got formatted by CI. Please request CI again if you still want to have this PR merged. If the PR is from a forked repo, please download the patch files from the GitHub Actions web page and apply them locally. |
@@ -32,6 +32,7 @@ limitations under the License. | |||
OF_PP_MAKE_TUPLE_SEQ(int32_t, DataType::kInt32) \ | |||
OF_PP_MAKE_TUPLE_SEQ(int64_t, DataType::kInt64) | |||
|
|||
#define INT16_DATA_TYPE_SEQ OF_PP_MAKE_TUPLE_SEQ(int16_t, DataType::kInt16) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里为什么不加到 SIGNED_INT_DATA_TYPE_SEQ 里面呢
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个后续需要整理一下,现在宏已经烂了,如果加到SIGNED_INT_DATA_TYPE_SEQ里面某些kernel宏展开会失败,就先单独处理了
Code got formatted by CI. Please request CI again if you still want to have this PR merged. If the PR is from a forked repo, please download the patch files from the GitHub Actions web page and apply them locally. |
CI failed when running job: Build llvm15. PR label automerge has been removed |
CI failed when running job: cpu-module. PR label automerge has been removed |
Speed stats:
|
CI failed when running job: cuda-module. PR label automerge has been removed |
Speed stats:
|
Speed stats:
|
View latest API docs preview at: https://staging.oneflow.info/docs/Oneflow-Inc/oneflow/pr/10086/ |
CI failed when running job: cuda-misc. PR label automerge has been removed |
…-Inc/oneflow into dev_support_char_and_short_dtype
Speed stats:
|
View latest API docs preview at: https://staging.oneflow.info/docs/Oneflow-Inc/oneflow/pr/10086/ |
CI failed when running job: cpu-module. PR label automerge has been removed |
View latest API docs preview at: https://staging.oneflow.info/docs/Oneflow-Inc/oneflow/pr/10086/ |
Speed stats:
|
No description provided.