hidet-org / hidet

An open-source efficient deep learning framework/compiler, written in python.
https://hidet.org
Apache License 2.0
634 stars 50 forks source link

[Fix] Adding header guards to header files in include/runtime/cpu #448

Open BolinSNLHM opened 3 months ago

BolinSNLHM commented 3 months ago

While trying to benchmark Hidet on the CPU, I encountered some compilation errors caused by function re-definition. It was due to multiple same include statements within the same source.cc file.

I added the header guards to avoid the error.