Skip to content

Commit 5c402ff

Browse files
committed
LazyCL_1.1.1 uses CPU if GPU not found, and turned off strict float tests cuz unreliable
1 parent aad4392 commit 5c402ff

File tree

3 files changed

+226
-85
lines changed

3 files changed

+226
-85
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
opencl1.2:(global float* out, global const float* in){
2+
const int id = get_global_id(0);
3+
//double x = in[id];
4+
//double x = (float)in[id];
5+
double x = in[id];
6+
out[id] = (float)(1.0/(1.0+exp(-x)));
7+
}

0 commit comments

Comments
 (0)