Skip to content

Commit

Permalink
Fix duplicate inline warning (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
aacostadiaz authored Jul 15, 2024
1 parent e2e3417 commit 8ff7158
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/cutlass/detail/helper_macros.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
#endif

#if defined(CUTLASS_ENABLE_SYCL)
#define CUTLASS_HOST inline
#define CUTLASS_HOST
#define CUTLASS_GLOBAL
#define CUTLASS_SHARED
#else
Expand Down
6 changes: 3 additions & 3 deletions include/cutlass/gpu_generics.h
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ CUTLASS_HOST_DEVICE
void cuGetErrorString(cudaError_t error, const char **) {
}

CUTLASS_HOST
inline CUTLASS_HOST
cudaError_t cudaGetLastError() {
return cudaSuccess;
}
Expand Down Expand Up @@ -382,7 +382,7 @@ CUresult cuMemsetD8Async(CUdeviceptr devPtr, uint8_t value, size_t count, cudaSt
using cudaFuncAttribute = unsigned int;
constexpr cudaFuncAttribute cudaFuncAttributeMaxDynamicSharedMemorySize = 0;

CUTLASS_HOST
inline CUTLASS_HOST
cudaError_t cudaFuncSetAttribute(const void *func, cudaFuncAttribute attr, int value) {
return cudaSuccess;
}
Expand All @@ -397,7 +397,7 @@ cudaError_t cudaDeviceGetAttribute(int *value, cudaDeviceAttr attr, int device)

constexpr unsigned int cudaOccupancyDisableCachingOverride = 0;

CUTLASS_HOST
inline CUTLASS_HOST
cudaError_t cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(
int *numBlocks, const void *func, int blockSize, size_t dynamicSMemSize, unsigned int flags) {
return cudaSuccess;
Expand Down

0 comments on commit 8ff7158

Please sign in to comment.