Commit fc31b051 authored by Leonardo Solis's avatar Leonardo Solis
Browse files

drastic: all float-point + deeper block chann + expli order enforced

Former-commit-id: 1feddb8f
parent 6547cfa2
......@@ -215,7 +215,7 @@ endif
# Fixed-point
# =============================
# FIxed-POint COform flag (FIPOCO)
FIXED_POINT_CONFORM=YES
FIXED_POINT_CONFORM=NO
FIXED_POINT_INTERE=NO
FIXED_POINT_INTRAE=NO
......
......@@ -41,12 +41,20 @@ void Krnl_Conform(
// just to keep sizes equal to power of 2
// __local float __attribute__((numbanks(8), bankwidth(16))) loc_coords[MAX_NUM_OF_ATOMS][4];
#if 0
char active = 0x01;
#endif
char active;
__local int rotlist_localcache [MAX_NUM_OF_ROTATIONS];
for (ushort c = 0; c < DockConst_rotbondlist_length; c++) {
rotlist_localcache [c] = KerConstStatic_rotlist_const [c];
if (c == (DockConst_rotbondlist_length-1)){
active = 0x01;
}
}
mem_fence(CLK_LOCAL_MEM_FENCE);
while(active) {
char mode;
......
This diff is collapsed.
......@@ -39,12 +39,20 @@ void Krnl_IntraE(
float DockConst_coeff_desolv
)
{
#if 0
char active = 0x01;
#endif
char active;
__local char3 intraE_contributors_localcache [MAX_INTRAE_CONTRIBUTORS];
for (ushort i=0; i<MAX_INTRAE_CONTRIBUTORS; i++) {
intraE_contributors_localcache [i] = KerConstStatic_intraE_contributors_const [i];
intraE_contributors_localcache [i] = KerConstStatic_intraE_contributors_const [i];
if (i == (MAX_INTRAE_CONTRIBUTORS-1)) {
active = 0x01;
}
}
mem_fence(CLK_LOCAL_MEM_FENCE);
while(active) {
char mode;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment