1. Anteru
  2. bug-reports

Commits

gsaddict  committed 8b14c62

Add AMD OpenCL compilation bug with float3 kernel parameters.

  • Participants
  • Parent commits edac038
  • Branches default

Comments (0)

Files changed (2)

File OpenCL/AMD/ReadMe.txt

View file
  • Ignore whitespace
+On compilation targeting a GPU devices this kernel.cl crashes due to a bug with float assigment of a float3 component to local memory space.
+Works on compilation targeting CPUs or using other float vector types.

File OpenCL/AMD/kernel.cl

View file
  • Ignore whitespace
+__kernel void k (float3 /* works with float, float2, float4 */ s)
+{
+	__local float m;
+	m = s.x;
+}