summaryrefslogtreecommitdiffstats
path: root/Whisper/ML/TensorShape.h
diff options
context:
space:
mode:
authorKonstantin <const@const.me>2023-01-23 20:28:59 +0100
committerKonstantin <const@const.me>2023-01-23 20:28:59 +0100
commit15dbcacdbc5db68c1ea86bb330d07ec70de75af6 (patch)
tree7740da539ecd498ad143b733a50fa5043658e9cd /Whisper/ML/TensorShape.h
parentd3fe947eee55ea149c55c4f3a83ea285f9c0f5ba (diff)
Minor, micro-optimization
Diffstat (limited to 'Whisper/ML/TensorShape.h')
-rw-r--r--Whisper/ML/TensorShape.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Whisper/ML/TensorShape.h b/Whisper/ML/TensorShape.h
index 473b0c9..5749764 100644
--- a/Whisper/ML/TensorShape.h
+++ b/Whisper/ML/TensorShape.h
@@ -28,11 +28,11 @@ namespace DirectCompute
HRESULT create( const ggml_tensor& ggml );
TensorShape( const ggml_tensor& ggml );
- __m128i sizeVec() const
+ __m128i __vectorcall sizeVec() const
{
return load( ne );
}
- __m128i stridesVec() const
+ __m128i __vectorcall stridesVec() const
{
return load( nb );
}