Browse Source

Fix bfloat16_bits union so that it always the sizeof unsigned short.

tags/v0.3.25^2
Chip-Kerchner 2 years ago
parent
commit
97a61d0577
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test/compare_sgemm_sbgemm.c

+ 1
- 1
test/compare_sgemm_sbgemm.c View File

@@ -32,7 +32,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
typedef union
{
unsigned short v;
struct
struct __attribute__((packed))
{
#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
unsigned short s:1;


Loading…
Cancel
Save