Skip to content

Commit 525e3ee

Browse files
author
Islam Almersawi
committed
fix(causal_conv1d): remove unnecessary preprocessor directive in causal_conv1d_fwd_launch function
Signed-off-by: Islam Almersawi <[email protected]>
1 parent e8f118d commit 525e3ee

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

csrc/mamba/causal_conv1d/causal_conv1d.cu

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,6 @@ void causal_conv1d_fwd_launch(ConvParamsBase &params, cudaStream_t stream) {
508508
C10_CUDA_CHECK(cudaFuncSetAttribute(
509509
(void *) kernel, cudaFuncAttributeMaxDynamicSharedMemorySize, kSmemSize));
510510
std::cerr << "Warning (causal_conv1d fwd launch): attempting to set maxDynamicSharedMemorySize on an AMD GPU which is currently a non-op (in ROCm versions <= 6.1). This might lead to undefined behavior. \n" << std::endl;
511-
#endif
512511
}
513512
kernel<<<grid, Ktraits::kNThreads, kSmemSize, stream>>>(params);
514513

0 commit comments

Comments
 (0)