BitNet icon indicating copy to clipboard operation
BitNet copied to clipboard

There are some data type inconsistencies in the tbl impl functions.

Open y-vectorfield opened this issue 1 year ago • 0 comments

When I built the source codes of BitNet.cpp using gcc, some data type inconsistencies error occured. However, this error did not occur when I used clang. I investigated the root cause of this problem. I found that there are some data type inconsistence in the tbl impl functions. The followin codes contain some data type inconsisitencies problem.

https://github.com/microsoft/BitNet/blob/caf17ec438808bcf9b3da012216c8624a29b8cdc/utils/codegen_tl1.py#L204-L207

https://github.com/microsoft/BitNet/blob/caf17ec438808bcf9b3da012216c8624a29b8cdc/utils/codegen_tl1.py#L235

https://github.com/microsoft/BitNet/blob/caf17ec438808bcf9b3da012216c8624a29b8cdc/utils/codegen_tl1.py#L252

We should add some data type reinterpreting cast processes in the codes.

y-vectorfield avatar Feb 19 '25 06:02 y-vectorfield