3
0

compat.h 140 B

123456789
  1. #ifndef TORCH_CHECK
  2. #define TORCH_CHECK AT_CHECK
  3. #endif
  4. #ifdef VERSION_GE_1_3
  5. #define DATA_PTR data_ptr
  6. #else
  7. #define DATA_PTR data
  8. #endif