Skip to content

Commit

Permalink
#904 Wrong OpenCLFunction name for Float4
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkosertic committed May 17, 2023
1 parent 3ccf117 commit 9597d5f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -91,4 +91,4 @@ float dot(final Float4 aOtherVector) {
theDotProduct += s3 * aOtherVector.s3;
return theDotProduct;
}
}
}

0 comments on commit 9597d5f

Please sign in to comment.