Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
5281aba4
Commit
5281aba4
authored
Apr 29, 2010
by
Peter Eastman
Browse files
Added reqd_work_group_size attribute to some kernels
parent
b2960968
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
10 additions
and
0 deletions
+10
-0
platforms/opencl/src/kernels/customGBEnergyN2_default.cl
platforms/opencl/src/kernels/customGBEnergyN2_default.cl
+1
-0
platforms/opencl/src/kernels/customGBEnergyN2_nvidia.cl
platforms/opencl/src/kernels/customGBEnergyN2_nvidia.cl
+1
-0
platforms/opencl/src/kernels/customGBValueN2_default.cl
platforms/opencl/src/kernels/customGBValueN2_default.cl
+1
-0
platforms/opencl/src/kernels/customGBValueN2_nvidia.cl
platforms/opencl/src/kernels/customGBValueN2_nvidia.cl
+1
-0
platforms/opencl/src/kernels/gbsaObc_default.cl
platforms/opencl/src/kernels/gbsaObc_default.cl
+2
-0
platforms/opencl/src/kernels/gbsaObc_nvidia.cl
platforms/opencl/src/kernels/gbsaObc_nvidia.cl
+2
-0
platforms/opencl/src/kernels/nonbonded_default.cl
platforms/opencl/src/kernels/nonbonded_default.cl
+1
-0
platforms/opencl/src/kernels/nonbonded_nvidia.cl
platforms/opencl/src/kernels/nonbonded_nvidia.cl
+1
-0
No files found.
platforms/opencl/src/kernels/customGBEnergyN2_default.cl
View file @
5281aba4
...
...
@@ -6,6 +6,7 @@
*
Compute
a
force
based
on
pair
interactions.
*/
__attribute__
((
reqd_work_group_size
(
64
,
1
,
1
)))
__kernel
void
computeN2Energy
(
__global
float4*
forceBuffers,
__global
float*
energyBuffer,
__local
float4*
local_force,
__global
float4*
posq,
__local
float4*
local_posq,
__global
unsigned
int*
exclusions,
__global
unsigned
int*
exclusionIndices,
__local
float4*
tempForceBuffer,
__global
unsigned
int*
tiles,
...
...
platforms/opencl/src/kernels/customGBEnergyN2_nvidia.cl
View file @
5281aba4
...
...
@@ -6,6 +6,7 @@
*
Compute
a
force
based
on
pair
interactions.
*/
__attribute__
((
reqd_work_group_size
(
64
,
1
,
1
)))
__kernel
void
computeN2Energy
(
__global
float4*
forceBuffers,
__global
float*
energyBuffer,
__local
float4*
local_force,
__global
float4*
posq,
__local
float4*
local_posq,
__global
unsigned
int*
exclusions,
__global
unsigned
int*
exclusionIndices,
__local
float4*
tempBuffer,
__global
unsigned
int*
tiles,
...
...
platforms/opencl/src/kernels/customGBValueN2_default.cl
View file @
5281aba4
...
...
@@ -4,6 +4,7 @@
*
Compute
a
value
based
on
pair
interactions.
*/
__attribute__
((
reqd_work_group_size
(
64
,
1
,
1
)))
__kernel
void
computeN2Value
(
__global
float4*
posq,
__local
float4*
local_posq,
__global
unsigned
int*
exclusions,
__global
unsigned
int*
exclusionIndices,
__global
float*
global_value,
__local
float*
local_value,
__local
float*
tempBuffer,
__global
unsigned
int*
tiles,
...
...
platforms/opencl/src/kernels/customGBValueN2_nvidia.cl
View file @
5281aba4
...
...
@@ -4,6 +4,7 @@
*
Compute
a
value
based
on
pair
interactions.
*/
__attribute__
((
reqd_work_group_size
(
64
,
1
,
1
)))
__kernel
void
computeN2Value
(
__global
float4*
posq,
__local
float4*
local_posq,
__global
unsigned
int*
exclusions,
__global
unsigned
int*
exclusionIndices,
__global
float*
global_value,
__local
float*
local_value,
__local
float*
tempBuffer,
__global
unsigned
int*
tiles,
...
...
platforms/opencl/src/kernels/gbsaObc_default.cl
View file @
5281aba4
...
...
@@ -14,6 +14,7 @@ typedef struct {
*
Compute
the
Born
sum.
*/
__attribute__
((
reqd_work_group_size
(
64
,
1
,
1
)))
__kernel
void
computeBornSum
(
__global
float*
global_bornSum,
__global
float4*
posq,
__global
float2*
global_params,
__local
AtomData*
localData,
__local
float*
tempBuffer,
__global
unsigned
int*
tiles,
#
ifdef
USE_CUTOFF
__global
unsigned
int*
interactionFlags,
__global
unsigned
int*
interactionCount
)
{
...
...
@@ -192,6 +193,7 @@ __kernel void computeBornSum(__global float* global_bornSum, __global float4* po
*
First
part
of
computing
the
GBSA
interaction.
*/
__attribute__
((
reqd_work_group_size
(
64
,
1
,
1
)))
__kernel
void
computeGBSAForce1
(
__global
float4*
forceBuffers,
__global
float*
energyBuffer,
__global
float4*
posq,
__global
float*
global_bornRadii,
__global
float*
global_bornForce,
__local
AtomData*
localData,
__local
float4*
tempBuffer,
__global
unsigned
int*
tiles,
...
...
platforms/opencl/src/kernels/gbsaObc_nvidia.cl
View file @
5281aba4
...
...
@@ -14,6 +14,7 @@ typedef struct {
*
Compute
the
Born
sum.
*/
__attribute__
((
reqd_work_group_size
(
64
,
1
,
1
)))
__kernel
void
computeBornSum
(
__global
float*
global_bornSum,
__global
float4*
posq,
__global
float2*
global_params,
__local
AtomData*
localData,
__local
float*
tempBuffer,
__global
unsigned
int*
tiles,
#
ifdef
USE_CUTOFF
__global
unsigned
int*
interactionFlags,
__global
unsigned
int*
interactionCount
)
{
...
...
@@ -252,6 +253,7 @@ __kernel void computeBornSum(__global float* global_bornSum, __global float4* po
*
First
part
of
computing
the
GBSA
interaction.
*/
__attribute__
((
reqd_work_group_size
(
64
,
1
,
1
)))
__kernel
void
computeGBSAForce1
(
__global
float4*
forceBuffers,
__global
float*
energyBuffer,
__global
float4*
posq,
__global
float*
global_bornRadii,
__global
float*
global_bornForce,
__local
AtomData*
localData,
__local
float4*
tempBuffer,
__global
unsigned
int*
tiles,
...
...
platforms/opencl/src/kernels/nonbonded_default.cl
View file @
5281aba4
...
...
@@ -11,6 +11,7 @@ typedef struct {
*
Compute
nonbonded
interactions.
*/
__attribute__
((
reqd_work_group_size
(
64
,
1
,
1
)))
__kernel
void
computeNonbonded
(
__global
float4*
forceBuffers,
__global
float*
energyBuffer,
__global
float4*
posq,
__global
unsigned
int*
exclusions,
__global
unsigned
int*
exclusionIndices,
__local
AtomData*
localData,
__local
float4*
tempBuffer,
__global
unsigned
int*
tiles,
#
ifdef
USE_CUTOFF
...
...
platforms/opencl/src/kernels/nonbonded_nvidia.cl
View file @
5281aba4
...
...
@@ -11,6 +11,7 @@ typedef struct {
*
Compute
nonbonded
interactions.
*/
__attribute__
((
reqd_work_group_size
(
64
,
1
,
1
)))
__kernel
void
computeNonbonded
(
__global
float4*
forceBuffers,
__global
float*
energyBuffer,
__global
float4*
posq,
__global
unsigned
int*
exclusions,
__global
unsigned
int*
exclusionIndices,
__local
AtomData*
localData,
__local
float4*
tempBuffer,
__global
unsigned
int*
tiles,
#
ifdef
USE_CUTOFF
...
...
Write
Preview
Markdown
is supported
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