<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-15">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Hello, the following kernel causes an assertion failed:<br>
</tt>
<blockquote><tt>__kernel void test(__global float2* ff){</tt><br>
<tt> float2 f1 = ff[0], f2 = ff[1];</tt><br>
<tt> float2 dist = f1 - f2;</tt><br>
<tt> dist += convert_float2(fabs(dist) > 0.5f) * </tt><tt><tt>convert_float2(</tt>copysign((coord)1,
dist));</tt><br>
<tt> ff[3] = dist;</tt><br>
<tt>}</tt><br>
</blockquote>
<tt>Result is:<br>
</tt>
<blockquote><tt>ASSERTION FAILED: Not supported</tt><br>
<tt> at file
/home/pisto/sorgenti/beignet/backend/src/./ir/context.hpp,
function gbe::ir::ImmediateIndex
gbe::ir::Context::newIntegerImmediate(int64_t, gbe::ir::Type),
line 95</tt><br>
</blockquote>
<tt></tt>
</body>
</html>