Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
docking
ocladock-fpga
Commits
fc31b051
Commit
fc31b051
authored
Jul 12, 2018
by
Leonardo Solis
Browse files
drastic: all float-point + deeper block chann + expli order enforced
Former-commit-id:
1feddb8f
parent
6547cfa2
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
ofdock_taskpar_alt/Makefile
View file @
fc31b051
...
...
@@ -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
...
...
ofdock_taskpar_alt/device/Krnl_Conform.cl
View file @
fc31b051
...
...
@@ -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
;
...
...
ofdock_taskpar_alt/device/Krnl_GA.cl
View file @
fc31b051
This diff is collapsed.
Click to expand it.
ofdock_taskpar_alt/device/Krnl_IntraE.cl
View file @
fc31b051
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment