From 9597d5fcdcbe0b3a8c51d1370c3a26accf79ed3d Mon Sep 17 00:00:00 2001 From: mirkosertic Date: Wed, 17 May 2023 12:55:12 +0200 Subject: [PATCH] #904 Wrong OpenCLFunction name for Float4 --- .../main/java/de/mirkosertic/bytecoder/api/opencl/Float4.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classlib/bytecoder.opencl/src/main/java/de/mirkosertic/bytecoder/api/opencl/Float4.java b/classlib/bytecoder.opencl/src/main/java/de/mirkosertic/bytecoder/api/opencl/Float4.java index 8695e9a5cf..e0c8ca4084 100644 --- a/classlib/bytecoder.opencl/src/main/java/de/mirkosertic/bytecoder/api/opencl/Float4.java +++ b/classlib/bytecoder.opencl/src/main/java/de/mirkosertic/bytecoder/api/opencl/Float4.java @@ -25,7 +25,7 @@ public class Float4 implements FloatSerializable { public float s2; public float s3; - @OpenCLFunction(value = "float2", literal = true) + @OpenCLFunction(value = "float4", literal = true) public static Float4 float4(final float aS0, final float aS1, final float aS2, final float aS3) { return new Float4(aS0, aS1, aS2, aS3); } @@ -91,4 +91,4 @@ float dot(final Float4 aOtherVector) { theDotProduct += s3 * aOtherVector.s3; return theDotProduct; } -} \ No newline at end of file +}