Skip to content

Commit 194b29f

Browse files
classnerfacebook-github-bot
authored andcommitted
Fix #431.
Summary: Added missing include for cstdint for Windows and removed problematic inline assembly. Reviewed By: bottler Differential Revision: D24838053 fbshipit-source-id: 95496be841c2c22a82068073d4740e98ee8a02ac
1 parent 83fef0a commit 194b29f

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

pytorch3d/csrc/pulsar/cuda/commands.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,6 @@ __device__ static float atomicMin(float* address, float val) {
209209
#define RNORM3DF(x, y, z) rnorm3df(x, y, z)
210210

211211
// High level.
212-
INLINE DEVICE void prefetch_l1(unsigned long addr) {
213-
asm(" prefetch.global.L1 [ %1 ];" : "=l"(addr) : "l"(addr));
214-
}
215-
#define PREFETCH(PTR) prefetch_l1((unsigned long)(PTR))
216212
#define GET_SORT_WS_SIZE(RES_PTR, KEY_TYPE, VAL_TYPE, NUM_OBJECTS) \
217213
cub::DeviceRadixSort::SortPairsDescending( \
218214
(void*)NULL, \

pytorch3d/csrc/pulsar/include/camera.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#ifndef PULSAR_NATIVE_INCLUDE_CAMERA_H_
33
#define PULSAR_NATIVE_INCLUDE_CAMERA_H_
44

5+
#include <stdint.h>
56
#include "../global.h"
67

78
namespace pulsar {

0 commit comments

Comments
 (0)