"vscode:/vscode.git/clone" did not exist on "98f700d7339022153a4be931dcb68dcaa693d244"
Commit c373a844 authored by sewon.jeon's avatar sewon.jeon Committed by Facebook GitHub Bot
Browse files

Use updated naming to remove warning (#1687)

Summary:
diag_suppress is  deprecated from cuda

Pull Request resolved: https://github.com/facebookresearch/pytorch3d/pull/1687

Reviewed By: MichaelRamamonjisoa

Differential Revision: D51495875

Pulled By: bottler

fbshipit-source-id: 6543a15e666238365719117bfcf5f7dac532aec1
parent 7606854f
...@@ -30,11 +30,18 @@ ...@@ -30,11 +30,18 @@
#define GLOBAL __global__ #define GLOBAL __global__
#define RESTRICT __restrict__ #define RESTRICT __restrict__
#define DEBUGBREAK() #define DEBUGBREAK()
#ifdef __NVCC_DIAG_PRAGMA_SUPPORT__
#pragma nv_diag_suppress 1866
#pragma nv_diag_suppress 2941
#pragma nv_diag_suppress 2951
#pragma nv_diag_suppress 2967
#else
#pragma diag_suppress = attribute_not_allowed #pragma diag_suppress = attribute_not_allowed
#pragma diag_suppress = 1866 #pragma diag_suppress = 1866
#pragma diag_suppress = 2941 #pragma diag_suppress = 2941
#pragma diag_suppress = 2951 #pragma diag_suppress = 2951
#pragma diag_suppress = 2967 #pragma diag_suppress = 2967
#endif
#else // __CUDACC__ #else // __CUDACC__
#define INLINE inline #define INLINE inline
#define HOST #define HOST
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment