-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Add ti.u8 and ti.i16 support #505 #504
Labels
feature request
Suggest an idea on this project
Comments
archibate
added a commit
to archibate/taichi
that referenced
this issue
Feb 20, 2020
archibate
added a commit
to archibate/taichi
that referenced
this issue
Feb 20, 2020
[skip ci] also add in Kernel::set_arg_*
archibate
added a commit
to archibate/taichi
that referenced
this issue
Feb 20, 2020
also add in Kernel::set_arg_* kernel args support-more-types; add test_types.py add tensor to test_types.py
yuanming-hu
pushed a commit
to archibate/taichi
that referenced
this issue
Feb 20, 2020
also add in Kernel::set_arg_* kernel args support-more-types; add test_types.py add tensor to test_types.py
yuanming-hu
added a commit
that referenced
this issue
Feb 24, 2020
* add more types: {u,i}{8,16,32,64} #504 also add in Kernel::set_arg_* kernel args support-more-types; add test_types.py add tensor to test_types.py * add test_overflow to test_types.py fix faults in test_overflow * real/integer_types/type_ids * updateded is_integral; added is_signed/is_unsigned * Fixed SNode::write_int when using i64 * Fixed SNode::read_int when using u64: added SNode::read_uint Co-authored-by: Yuanming Hu <[email protected]>
This was referenced Feb 24, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Concisely describe the proposed feature
I would like to add more data types (eg.
ti.u8
,ti.i16
) to the compiler so that audio and graphic users could be happy dealing with their raw data.Describe the solution you'd like
u8
is already intaichi/tlang_util.h
.You may want to start from
python/taichi/lang/util.py
(?)Additional comments
Just the basic supports, not need too much things like
pow_i8
.The text was updated successfully, but these errors were encountered: