"vscode:/vscode.git/clone" did not exist on "d224c6373fedd1e93e87616ff54250b356aafd56"
Unverified Commit 066d290f authored by Jinjing Zhou's avatar Jinjing Zhou Committed by GitHub
Browse files

[Fix] Fix build on macos(clang) (#1318)

* fix

* data type

* fix

* fix

* fix
parent e2db7913
......@@ -14,6 +14,8 @@
#include <algorithm>
#include <vector>
using dgl::runtime::operator<<;
/*! \brief Check whether two data types are the same.*/
inline bool operator == (const DLDataType& ty1, const DLDataType& ty2) {
return ty1.code == ty2.code && ty1.bits == ty2.bits && ty1.lanes == ty2.lanes;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment