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
d4559528
"vscode:/vscode.git/clone" did not exist on "75104c412d1d0e9cf4a3de01bc91f1484da7a28a"
Commit
d4559528
authored
Apr 13, 2011
by
Mark Friedrichs
Browse files
Remove __mul24 calls
parent
82a90aac
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
plugins/amoeba/platforms/cuda/src/kernels/kCalculateAmoebaCudaMapTorques.cu
...tforms/cuda/src/kernels/kCalculateAmoebaCudaMapTorques.cu
+1
-1
plugins/amoeba/platforms/cuda/src/kernels/kCalculateAmoebaCudaMutualInducedAndGkFields.cu
...c/kernels/kCalculateAmoebaCudaMutualInducedAndGkFields.cu
+3
-3
plugins/amoeba/platforms/cuda/src/kernels/kCalculateAmoebaCudaMutualInducedField.cu
...uda/src/kernels/kCalculateAmoebaCudaMutualInducedField.cu
+2
-2
plugins/amoeba/platforms/cuda/src/kernels/kCalculateAmoebaCudaRotateFrame.cu
...forms/cuda/src/kernels/kCalculateAmoebaCudaRotateFrame.cu
+2
-2
No files found.
plugins/amoeba/platforms/cuda/src/kernels/kCalculateAmoebaCudaMapTorques.cu
View file @
d4559528
...
...
@@ -81,7 +81,7 @@ void amoebaMapTorqueToForce_kernel( float* torque )
// ---------------------------------------------------------------------------------------
int
ii
;
int
particleIndex
=
__mul24
(
blockIdx
.
x
,
blockDim
.
x
)
+
threadIdx
.
x
;
int
particleIndex
=
blockIdx
.
x
*
blockDim
.
x
+
threadIdx
.
x
;
float4
*
atomCoord
=
cSim
.
pPosq
;
int4
*
multiPoleAtoms
=
cAmoebaSim
.
pMultipoleParticlesIdsAndAxisType
;
...
...
plugins/amoeba/platforms/cuda/src/kernels/kCalculateAmoebaCudaMutualInducedAndGkFields.cu
View file @
d4559528
...
...
@@ -253,7 +253,7 @@ void kInitializeMutualInducedAndGkField_kernel(
float
*
inducedDipolePolarS
)
{
int
pos
=
__mul24
(
blockIdx
.
x
,
blockDim
.
x
)
+
threadIdx
.
x
;
int
pos
=
blockIdx
.
x
*
blockDim
.
x
+
threadIdx
.
x
;
while
(
pos
<
3
*
cSim
.
atoms
)
{
...
...
@@ -354,7 +354,7 @@ void kSorUpdateMutualInducedAndGkField_kernel(
{
float
polarSOR
=
0.70
f
;
int
pos
=
__mul24
(
blockIdx
.
x
,
blockDim
.
x
)
+
threadIdx
.
x
;
int
pos
=
blockIdx
.
x
*
blockDim
.
x
+
threadIdx
.
x
;
while
(
pos
<
3
*
cSim
.
atoms
)
{
...
...
@@ -391,7 +391,7 @@ void kSorUpdateMutualInducedAndGkFieldS_kernel(
{
float
polarSOR
=
0.70
f
;
int
pos
=
__mul24
(
blockIdx
.
x
,
blockDim
.
x
)
+
threadIdx
.
x
;
int
pos
=
blockIdx
.
x
*
blockDim
.
x
+
threadIdx
.
x
;
while
(
pos
<
3
*
cSim
.
atoms
)
{
float
previousDipole
=
inducedDipole
[
pos
];
...
...
plugins/amoeba/platforms/cuda/src/kernels/kCalculateAmoebaCudaMutualInducedField.cu
View file @
d4559528
...
...
@@ -118,7 +118,7 @@ void kInitializeMutualInducedField_kernel(
float
*
polarizability
)
{
int
pos
=
__mul24
(
blockIdx
.
x
,
blockDim
.
x
)
+
threadIdx
.
x
;
int
pos
=
blockIdx
.
x
*
blockDim
.
x
+
threadIdx
.
x
;
while
(
pos
<
3
*
cSim
.
atoms
)
{
...
...
@@ -194,7 +194,7 @@ void kSorUpdateMutualInducedField_kernel(
{
float
polarSOR
=
0.70
f
;
int
pos
=
__mul24
(
blockIdx
.
x
,
blockDim
.
x
)
+
threadIdx
.
x
;
int
pos
=
blockIdx
.
x
*
blockDim
.
x
+
threadIdx
.
x
;
while
(
pos
<
3
*
cSim
.
atoms
)
{
...
...
plugins/amoeba/platforms/cuda/src/kernels/kCalculateAmoebaCudaRotateFrame.cu
View file @
d4559528
...
...
@@ -84,7 +84,7 @@ void kCudaComputeCheckChiral_kernel( void )
// ---------------------------------------------------------------------------------------
int
particleIndex
=
__mul24
(
blockIdx
.
x
,
blockDim
.
x
)
+
threadIdx
.
x
;
int
particleIndex
=
blockIdx
.
x
*
blockDim
.
x
+
threadIdx
.
x
;
int
numberOfParticles
=
cSim
.
atoms
;
while
(
particleIndex
<
numberOfParticles
)
{
...
...
@@ -146,7 +146,7 @@ void kCudaComputeLabFrameMoments_kernel( void )
float
vectorY
[
3
];
float
vectorZ
[
3
];
int
particleIndex
=
__mul24
(
blockIdx
.
x
,
blockDim
.
x
)
+
threadIdx
.
x
;
int
particleIndex
=
blockIdx
.
x
*
blockDim
.
x
+
threadIdx
.
x
;
float4
*
particleCoord
=
cSim
.
pPosq
;
int4
*
multiPoleParticles
=
cAmoebaSim
.
pMultipoleParticlesIdsAndAxisType
;
...
...
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