mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-07-21 16:27:19 +08:00
[Bugfix] Fix CUDA version check for mma warning suppression (#5642)
This commit is contained in:
parent
2bd231a7b7
commit
b23ce92032
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "base.h"
|
#include "base.h"
|
||||||
|
#include <cudaTypedefs.h>
|
||||||
|
|
||||||
namespace marlin_24 {
|
namespace marlin_24 {
|
||||||
|
|
||||||
@ -26,7 +27,7 @@ namespace marlin_24 {
|
|||||||
// | Advisory: Modifier ‘.sp::ordered_metadata’ should be used on instruction
|
// | Advisory: Modifier ‘.sp::ordered_metadata’ should be used on instruction
|
||||||
// | ‘mma’ instead of modifier ‘.sp’ as it is expected to have substantially
|
// | ‘mma’ instead of modifier ‘.sp’ as it is expected to have substantially
|
||||||
// | reduced performance on some future architectures
|
// | reduced performance on some future architectures
|
||||||
#if defined CUDA_VERSION && CUDA_VERSION >= 12500
|
#if defined CUDA_VERSION && CUDA_VERSION >= 12050
|
||||||
#define MMA_SP_INST \
|
#define MMA_SP_INST \
|
||||||
"mma.sp::ordered_metadata.sync.aligned.m16n8k32.row.col.f32.f16.f16.f32 "
|
"mma.sp::ordered_metadata.sync.aligned.m16n8k32.row.col.f32.f16.f16.f32 "
|
||||||
#else
|
#else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user