Skip to content

Commit 2b83205

Browse files
committed
static inline
1 parent 56652ba commit 2b83205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch/headeronly/macros/Macros.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ static inline constexpr int __device__ C10_WARP_SIZE_INTERNAL() {
335335
#endif // __GFX9__
336336
}
337337
#else // __HIPCC__
338-
inline int C10_WARP_SIZE_INTERNAL() {
338+
static inline int C10_WARP_SIZE_INTERNAL() {
339339
return at::cuda::warp_size();
340340
}
341341
#endif // __HIPCC__

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy