Added function for array comparison. Fixed mistake in Makefile.

This commit is contained in:
2023-09-07 19:39:35 +02:00
parent f942ef25c2
commit 6f320f593c
5 changed files with 62 additions and 30 deletions

12
tensorarray.h Normal file
View File

@@ -0,0 +1,12 @@
#ifndef _TENSORARRAY_H_INCLUDED_
#define _TENSORARRAY_H_INCLUDED_
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include "dtype.h"
inline bool tarray_equals(dtype* a1, dtype* a2, uint32_t len);
inline bool tarray_uint32_equals(uint32_t* a1, uint32_t* a2, uint32_t len);
#endif // _TENSORARRAY_H_INCLUDED_