We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c373a84 commit 6b87660Copy full SHA for 6b87660
pytorch3d/csrc/pulsar/global.h
@@ -56,6 +56,7 @@
56
#pragma clang diagnostic pop
57
#ifdef WITH_CUDA
58
#include <ATen/cuda/CUDAContext.h>
59
+#include <vector_functions.h>
60
#else
61
#ifndef cudaStream_t
62
typedef void* cudaStream_t;
@@ -74,13 +75,6 @@ struct float3 {
74
75
};
76
#endif
77
namespace py = pybind11;
-inline float3 make_float3(const float& x, const float& y, const float& z) {
78
- float3 res;
79
- res.x = x;
80
- res.y = y;
81
- res.z = z;
82
- return res;
83
-}
84
85
inline bool operator==(const float3& a, const float3& b) {
86
return a.x == b.x && a.y == b.y && a.z == b.z;
0 commit comments