Skip to content
GitLab
Menu
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
1f3e169b
Commit
1f3e169b
authored
Nov 11, 2018
by
Leonardo Solis
Browse files
#31, removed useless already-commented krnl attrib max_global_work_dim
parent
dfd3066d
Changes
16
Show whitespace changes
Inline
Side-by-side
ofdock_taskpar_xl/device/Krnl_Conform.cl
View file @
1f3e169b
...
...
@@ -3,9 +3,6 @@
//
the
genotype
fed
by
any
producer
logic/kernel
(
IC,
GG,
LSs
)
.
//
Originally
from:
processligand.c
//
--------------------------------------------------------------------------
/*
__kernel
__attribute__
((
max_global_work_dim
(
0
)))
*/
__kernel
__attribute__
((
reqd_work_group_size
(
1
,
1
,
1
)))
void
Krnl_Conform
(
__global
const
int*
restrict
KerConstStatic_rotlist_const,
...
...
ofdock_taskpar_xl/device/Krnl_GA.cl
View file @
1f3e169b
...
...
@@ -217,9 +217,6 @@ float map_angle_360(float angle)
//
Lamarckian
Genetic-Algorithm
(
GA
)
:
GA
+
LS
(
Local
Search
)
//
Originally
from:
searchoptimum.c
//
--------------------------------------------------------------------------
/*
__kernel
__attribute__
((
max_global_work_dim
(
0
)))
*/
__kernel
__attribute__
((
reqd_work_group_size
(
1
,
1
,
1
)))
void
Krnl_GA
(
__global
const
float*
restrict
GlobPopulationCurrentInitial,
...
...
ofdock_taskpar_xl/device/Krnl_IGL_Arbiter.cl
View file @
1f3e169b
...
...
@@ -15,9 +15,6 @@
//
This
has
been
later
optimized,
so
now
genotypes
go
directly
//
from
producer
logic/kernel
(
IC,
GG,
LSs
)
to
the
consumer
(
Conform
)
kernel.
//
--------------------------------------------------------------------------
/*
__kernel
__attribute__
((
max_global_work_dim
(
0
)))
*/
__kernel
__attribute__
((
reqd_work_group_size
(
1
,
1
,
1
)))
void
Krnl_IGL_Arbiter
(
/*unsigned
char
DockConst_num_of_genes*/
#
if
!defined
(
SW_EMU
)
...
...
ofdock_taskpar_xl/device/Krnl_IGL_SimplifArbiter.cl
View file @
1f3e169b
...
...
@@ -15,9 +15,6 @@
//
This
has
been
later
optimized,
so
now
genotypes
go
directly
//
from
producer
logic/kernel
(
IC,
GG,
LSs
)
to
the
consumer
(
Conform
)
kernel.
//
--------------------------------------------------------------------------
/*
__kernel
__attribute__
((
max_global_work_dim
(
0
)))
*/
__kernel
__attribute__
((
reqd_work_group_size
(
1
,
1
,
1
)))
void
Krnl_IGL_Arbiter
(
/*unsigned
char
DockConst_num_of_genes*/
#
if
!defined
(
SW_EMU
)
...
...
ofdock_taskpar_xl/device/Krnl_InterE.cl
View file @
1f3e169b
...
...
@@ -6,9 +6,6 @@
//
a
very
high
value
will
be
added
to
the
current
energy
as
a
penalty.
//
Originally
from:
processligand.c
//
--------------------------------------------------------------------------
/*
__kernel
__attribute__
((
max_global_work_dim
(
0
)))
*/
__kernel
__attribute__
((
reqd_work_group_size
(
1
,
1
,
1
)))
void
Krnl_InterE
(
__global
const
float*
restrict
GlobFgrids,
...
...
ofdock_taskpar_xl/device/Krnl_IntraE.cl
View file @
1f3e169b
...
...
@@ -12,9 +12,6 @@ float sqrt_custom(const float x)
//
contributor-pairs.
//
Originally
from:
processligand.c
//
--------------------------------------------------------------------------
/*
__kernel
__attribute__
((
max_global_work_dim
(
0
)))
*/
__kernel
__attribute__
((
reqd_work_group_size
(
1
,
1
,
1
)))
void
Krnl_IntraE
(
__constant
float*
restrict
KerConstStatic_atom_charges_const,
...
...
ofdock_taskpar_xl/device/Krnl_LS.cl
View file @
1f3e169b
//
--------------------------------------------------------------------------
//
--------------------------------------------------------------------------
/*
__kernel
__attribute__
((
max_global_work_dim
(
0
)))
*/
__kernel
__attribute__
((
reqd_work_group_size
(
1
,
1
,
1
)))
void
Krnl_LS
(
unsigned
short
DockConst_max_num_of_iters,
...
...
ofdock_taskpar_xl/device/Krnl_LS2.cl
View file @
1f3e169b
//
--------------------------------------------------------------------------
//
--------------------------------------------------------------------------
/*
__kernel
__attribute__
((
max_global_work_dim
(
0
)))
*/
__kernel
__attribute__
((
reqd_work_group_size
(
1
,
1
,
1
)))
void
Krnl_LS2
(
unsigned
short
DockConst_max_num_of_iters,
...
...
ofdock_taskpar_xl/device/Krnl_LS3.cl
View file @
1f3e169b
//
--------------------------------------------------------------------------
//
--------------------------------------------------------------------------
/*
__kernel
__attribute__
((
max_global_work_dim
(
0
)))
*/
__kernel
__attribute__
((
reqd_work_group_size
(
1
,
1
,
1
)))
void
Krnl_LS3
(
unsigned
short
DockConst_max_num_of_iters,
...
...
ofdock_taskpar_xl/device/Krnl_LS4.cl
View file @
1f3e169b
//
--------------------------------------------------------------------------
//
--------------------------------------------------------------------------
/*
__kernel
__attribute__
((
max_global_work_dim
(
0
)))
*/
__kernel
__attribute__
((
reqd_work_group_size
(
1
,
1
,
1
)))
void
Krnl_LS4
(
unsigned
short
DockConst_max_num_of_iters,
...
...
ofdock_taskpar_xl/device/Krnl_LS5.cl
View file @
1f3e169b
//
--------------------------------------------------------------------------
//
--------------------------------------------------------------------------
/*
__kernel
__attribute__
((
max_global_work_dim
(
0
)))
*/
__kernel
__attribute__
((
reqd_work_group_size
(
1
,
1
,
1
)))
void
Krnl_LS5
(
unsigned
short
DockConst_max_num_of_iters,
...
...
ofdock_taskpar_xl/device/Krnl_LS6.cl
View file @
1f3e169b
//
--------------------------------------------------------------------------
//
--------------------------------------------------------------------------
/*
__kernel
__attribute__
((
max_global_work_dim
(
0
)))
*/
__kernel
__attribute__
((
reqd_work_group_size
(
1
,
1
,
1
)))
void
Krnl_LS6
(
unsigned
short
DockConst_max_num_of_iters,
...
...
ofdock_taskpar_xl/device/Krnl_LS7.cl
View file @
1f3e169b
//
--------------------------------------------------------------------------
//
--------------------------------------------------------------------------
/*
__kernel
__attribute__
((
max_global_work_dim
(
0
)))
*/
__kernel
__attribute__
((
reqd_work_group_size
(
1
,
1
,
1
)))
void
Krnl_LS7
(
unsigned
short
DockConst_max_num_of_iters,
...
...
ofdock_taskpar_xl/device/Krnl_LS8.cl
View file @
1f3e169b
//
--------------------------------------------------------------------------
//
--------------------------------------------------------------------------
/*
__kernel
__attribute__
((
max_global_work_dim
(
0
)))
*/
__kernel
__attribute__
((
reqd_work_group_size
(
1
,
1
,
1
)))
void
Krnl_LS8
(
unsigned
short
DockConst_max_num_of_iters,
...
...
ofdock_taskpar_xl/device/Krnl_LS9.cl
View file @
1f3e169b
//
--------------------------------------------------------------------------
//
--------------------------------------------------------------------------
/*
__kernel
__attribute__
((
max_global_work_dim
(
0
)))
*/
__kernel
__attribute__
((
reqd_work_group_size
(
1
,
1
,
1
)))
void
Krnl_LS9
(
unsigned
short
DockConst_max_num_of_iters,
...
...
ofdock_taskpar_xl/device/Krnl_PRNG.cl
View file @
1f3e169b
...
...
@@ -2,9 +2,6 @@
//
PRNG
generators
are
implemented
as
Linear
Feedback
Shift
Registers
(
LFSR
)
//
All
are
32-bit
LFRS,
feedback
taps:
30
,
20
,
26
,
25
//
--------------------------------------------------------------------------
/*
__kernel
__attribute__
((
max_global_work_dim
(
0
)))
*/
__kernel
__attribute__
((
reqd_work_group_size
(
1
,
1
,
1
)))
void
Krnl_Prng_BT_ushort_float
(
unsigned
int
Host_seed1,
...
...
@@ -77,9 +74,6 @@ void Krnl_Prng_BT_ushort_float(
//
--------------------------------------------------------------------------
//
--------------------------------------------------------------------------
/*
__kernel
__attribute__
((
max_global_work_dim
(
0
)))
*/
__kernel
__attribute__
((
reqd_work_group_size
(
1
,
1
,
1
)))
void
Krnl_Prng_GG_uchar
(
unsigned
int
Host_seed,
...
...
@@ -131,9 +125,6 @@ void Krnl_Prng_GG_uchar(
}
//
while
(
valid
!=
PIPE_STATUS_SUCCESS
)
}
/*
__kernel
__attribute__
((
max_global_work_dim
(
0
)))
*/
__kernel
__attribute__
((
reqd_work_group_size
(
1
,
1
,
1
)))
void
Krnl_Prng_GG_float
(
unsigned
int
Host_seed,
...
...
@@ -181,9 +172,6 @@ void Krnl_Prng_GG_float(
//
--------------------------------------------------------------------------
//
--------------------------------------------------------------------------
/*
__kernel
__attribute__
((
max_global_work_dim
(
0
)))
*/
__kernel
__attribute__
((
reqd_work_group_size
(
1
,
1
,
1
)))
void
Krnl_Prng_LS123_ushort
(
unsigned
int
Host_seed1,
...
...
@@ -282,9 +270,6 @@ void Krnl_Prng_LS123_ushort(
//
--------------------------------------------------------------------------
//
--------------------------------------------------------------------------
/*
__kernel
__attribute__
((
max_global_work_dim
(
0
)))
*/
__kernel
__attribute__
((
reqd_work_group_size
(
1
,
1
,
1
)))
void
Krnl_Prng_LS_float
(
unsigned
int
Host_seed,
...
...
@@ -330,9 +315,6 @@ void Krnl_Prng_LS_float(
}
//
End
of
while
(
valid
!=
PIPE_STATUS_SUCCESS
)
}
/*
__kernel
__attribute__
((
max_global_work_dim
(
0
)))
*/
__kernel
__attribute__
((
reqd_work_group_size
(
1
,
1
,
1
)))
void
Krnl_Prng_LS2_float
(
unsigned
int
Host_seed,
...
...
@@ -378,9 +360,6 @@ void Krnl_Prng_LS2_float(
}
//
End
of
while
(
valid
!=
PIPE_STATUS_SUCCESS
)
}
/*
__kernel
__attribute__
((
max_global_work_dim
(
0
)))
*/
__kernel
__attribute__
((
reqd_work_group_size
(
1
,
1
,
1
)))
void
Krnl_Prng_LS3_float
(
unsigned
int
Host_seed,
...
...
@@ -426,9 +405,6 @@ void Krnl_Prng_LS3_float(
}
//
End
of
while
(
valid
!=
PIPE_STATUS_SUCCESS
)
}
/*
__kernel
__attribute__
((
max_global_work_dim
(
0
)))
*/
__kernel
__attribute__
((
reqd_work_group_size
(
1
,
1
,
1
)))
void
Krnl_Prng_LS4_float
(
unsigned
int
Host_seed,
...
...
@@ -474,9 +450,6 @@ void Krnl_Prng_LS4_float(
}
//
End
of
while
(
valid
!=
PIPE_STATUS_SUCCESS
)
}
/*
__kernel
__attribute__
((
max_global_work_dim
(
0
)))
*/
__kernel
__attribute__
((
reqd_work_group_size
(
1
,
1
,
1
)))
void
Krnl_Prng_LS5_float
(
unsigned
int
Host_seed,
...
...
@@ -522,9 +495,6 @@ void Krnl_Prng_LS5_float(
}
//
End
of
while
(
valid
!=
PIPE_STATUS_SUCCESS
)
}
/*
__kernel
__attribute__
((
max_global_work_dim
(
0
)))
*/
__kernel
__attribute__
((
reqd_work_group_size
(
1
,
1
,
1
)))
void
Krnl_Prng_LS6_float
(
unsigned
int
Host_seed,
...
...
@@ -570,9 +540,6 @@ void Krnl_Prng_LS6_float(
}
//
End
of
while
(
active
)
}
/*
__kernel
__attribute__
((
max_global_work_dim
(
0
)))
*/
__kernel
__attribute__
((
reqd_work_group_size
(
1
,
1
,
1
)))
void
Krnl_Prng_LS7_float
(
unsigned
int
Host_seed,
...
...
@@ -618,9 +585,6 @@ void Krnl_Prng_LS7_float(
}
//
End
of
while
(
valid
!=
PIPE_STATUS_SUCCESS
)
}
/*
__kernel
__attribute__
((
max_global_work_dim
(
0
)))
*/
__kernel
__attribute__
((
reqd_work_group_size
(
1
,
1
,
1
)))
void
Krnl_Prng_LS8_float
(
unsigned
int
Host_seed,
...
...
@@ -666,9 +630,6 @@ void Krnl_Prng_LS8_float(
}
//
End
of
while
(
valid
!=
PIPE_STATUS_SUCCESS
)
}
/*
__kernel
__attribute__
((
max_global_work_dim
(
0
)))
*/
__kernel
__attribute__
((
reqd_work_group_size
(
1
,
1
,
1
)))
void
Krnl_Prng_LS9_float
(
unsigned
int
Host_seed,
...
...
Leonardo Solis
@solis
mentioned in commit
a1dc6d64
·
Jan 04, 2021
mentioned in commit
a1dc6d64
mentioned in commit a1dc6d64f0200a6e91ec4b91d3f86b258ed7cc1d
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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