We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 04c2892 + ac58a79 commit 5761af1Copy full SHA for 5761af1
2 files changed
src/cluda_opencl.h
@@ -50,7 +50,7 @@ typedef struct _ga_half {
50
#define ga_half2float(p) vload_half(0, &((p).data))
51
static inline ga_half ga_float2half(ga_float f) {
52
ga_half r;
53
- vstore_half_rtn(f, 0, &r.data);
+ vstore_half_rte(f, 0, &r.data);
54
return r;
55
}
56
src/cluda_opencl.h.c
@@ -122,7 +122,7 @@ static const char cluda_opencl_h[] = {
122
0x6f, 0x61, 0x74, 0x20, 0x66, 0x29, 0x20, 0x7b, 0x0a, 0x20, 0x20,
123
0x67, 0x61, 0x5f, 0x68, 0x61, 0x6c, 0x66, 0x20, 0x72, 0x3b, 0x0a,
124
0x20, 0x20, 0x76, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x68, 0x61,
125
-0x6c, 0x66, 0x5f, 0x72, 0x74, 0x6e, 0x28, 0x66, 0x2c, 0x20, 0x30,
+0x6c, 0x66, 0x5f, 0x72, 0x74, 0x65, 0x28, 0x66, 0x2c, 0x20, 0x30,
126
0x2c, 0x20, 0x26, 0x72, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x29, 0x3b,
127
0x0a, 0x20, 0x20, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x20, 0x72,
128
0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x23, 0x70, 0x72, 0x61, 0x67, 0x6d,
0 commit comments