diff --git a/pytorch3d/csrc/pulsar/global.h b/pytorch3d/csrc/pulsar/global.h index a5b7fcb1..b92afba3 100644 --- a/pytorch3d/csrc/pulsar/global.h +++ b/pytorch3d/csrc/pulsar/global.h @@ -56,6 +56,7 @@ #pragma clang diagnostic pop #ifdef WITH_CUDA #include +#include #else #ifndef cudaStream_t typedef void* cudaStream_t; @@ -74,13 +75,6 @@ struct float3 { }; #endif namespace py = pybind11; -inline float3 make_float3(const float& x, const float& y, const float& z) { - float3 res; - res.x = x; - res.y = y; - res.z = z; - return res; -} inline bool operator==(const float3& a, const float3& b) { return a.x == b.x && a.y == b.y && a.z == b.z;