hidet-org / hidet

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

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

Open BolinSNLHM opened 8 months ago

BolinSNLHM commented 8 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.