Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lammps
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
multiscale
lammps
Commits
03c9c465
Commit
03c9c465
authored
8 years ago
by
Dan Ibanez
Browse files
Options
Downloads
Patches
Plain Diff
add missing KOKKOS_INLINE_FUNCTION attributes
parent
e992bfe5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/KOKKOS/pair_lj_class2_kokkos.h
+2
-0
2 additions, 0 deletions
src/KOKKOS/pair_lj_class2_kokkos.h
src/KOKKOS/pair_lj_expand_kokkos.h
+2
-0
2 additions, 0 deletions
src/KOKKOS/pair_lj_expand_kokkos.h
src/KOKKOS/pair_lj_gromacs_kokkos.h
+2
-0
2 additions, 0 deletions
src/KOKKOS/pair_lj_gromacs_kokkos.h
with
6 additions
and
0 deletions
src/KOKKOS/pair_lj_class2_kokkos.h
+
2
−
0
View file @
03c9c465
...
@@ -44,7 +44,9 @@ class PairLJClass2Kokkos : public PairLJClass2 {
...
@@ -44,7 +44,9 @@ class PairLJClass2Kokkos : public PairLJClass2 {
double
init_one
(
int
,
int
);
double
init_one
(
int
,
int
);
struct
params_lj
{
struct
params_lj
{
KOKKOS_INLINE_FUNCTION
params_lj
(){
cutsq
=
0
,
lj1
=
0
;
lj2
=
0
;
lj3
=
0
;
lj4
=
0
;
offset
=
0
;};
params_lj
(){
cutsq
=
0
,
lj1
=
0
;
lj2
=
0
;
lj3
=
0
;
lj4
=
0
;
offset
=
0
;};
KOKKOS_INLINE_FUNCTION
params_lj
(
int
i
){
cutsq
=
0
,
lj1
=
0
;
lj2
=
0
;
lj3
=
0
;
lj4
=
0
;
offset
=
0
;};
params_lj
(
int
i
){
cutsq
=
0
,
lj1
=
0
;
lj2
=
0
;
lj3
=
0
;
lj4
=
0
;
offset
=
0
;};
F_FLOAT
cutsq
,
lj1
,
lj2
,
lj3
,
lj4
,
offset
;
F_FLOAT
cutsq
,
lj1
,
lj2
,
lj3
,
lj4
,
offset
;
};
};
...
...
This diff is collapsed.
Click to expand it.
src/KOKKOS/pair_lj_expand_kokkos.h
+
2
−
0
View file @
03c9c465
...
@@ -44,7 +44,9 @@ class PairLJExpandKokkos : public PairLJExpand {
...
@@ -44,7 +44,9 @@ class PairLJExpandKokkos : public PairLJExpand {
double
init_one
(
int
,
int
);
double
init_one
(
int
,
int
);
struct
params_lj
{
struct
params_lj
{
KOKKOS_INLINE_FUNCTION
params_lj
(){
cutsq
=
0
,
lj1
=
0
;
lj2
=
0
;
lj3
=
0
;
lj4
=
0
;
offset
=
0
;
shift
=
0
;};
params_lj
(){
cutsq
=
0
,
lj1
=
0
;
lj2
=
0
;
lj3
=
0
;
lj4
=
0
;
offset
=
0
;
shift
=
0
;};
KOKKOS_INLINE_FUNCTION
params_lj
(
int
i
){
cutsq
=
0
,
lj1
=
0
;
lj2
=
0
;
lj3
=
0
;
lj4
=
0
;
offset
=
0
;
shift
=
0
;};
params_lj
(
int
i
){
cutsq
=
0
,
lj1
=
0
;
lj2
=
0
;
lj3
=
0
;
lj4
=
0
;
offset
=
0
;
shift
=
0
;};
F_FLOAT
cutsq
,
lj1
,
lj2
,
lj3
,
lj4
,
offset
,
shift
;
F_FLOAT
cutsq
,
lj1
,
lj2
,
lj3
,
lj4
,
offset
,
shift
;
};
};
...
...
This diff is collapsed.
Click to expand it.
src/KOKKOS/pair_lj_gromacs_kokkos.h
+
2
−
0
View file @
03c9c465
...
@@ -44,7 +44,9 @@ class PairLJGromacsKokkos : public PairLJGromacs {
...
@@ -44,7 +44,9 @@ class PairLJGromacsKokkos : public PairLJGromacs {
double
init_one
(
int
,
int
);
double
init_one
(
int
,
int
);
struct
params_lj
{
struct
params_lj
{
KOKKOS_INLINE_FUNCTION
params_lj
(){
cut_inner_sq
=
0
;
cut_inner
=
0
;
lj1
=
0
;
lj2
=
0
;
lj3
=
0
;
lj4
=
0
;
offset
=
0
;
ljsw1
=
0
;
ljsw2
=
0
;
ljsw3
=
0
;
ljsw4
=
0
;
ljsw5
=
0
;};
params_lj
(){
cut_inner_sq
=
0
;
cut_inner
=
0
;
lj1
=
0
;
lj2
=
0
;
lj3
=
0
;
lj4
=
0
;
offset
=
0
;
ljsw1
=
0
;
ljsw2
=
0
;
ljsw3
=
0
;
ljsw4
=
0
;
ljsw5
=
0
;};
KOKKOS_INLINE_FUNCTION
params_lj
(
int
i
){
cut_inner_sq
=
0
;
cut_inner
=
0
;
lj1
=
0
;
lj2
=
0
;
lj3
=
0
;
lj4
=
0
;
offset
=
0
;
ljsw1
=
0
;
ljsw2
=
0
;
ljsw3
=
0
;
ljsw4
=
0
;
ljsw5
=
0
;};
params_lj
(
int
i
){
cut_inner_sq
=
0
;
cut_inner
=
0
;
lj1
=
0
;
lj2
=
0
;
lj3
=
0
;
lj4
=
0
;
offset
=
0
;
ljsw1
=
0
;
ljsw2
=
0
;
ljsw3
=
0
;
ljsw4
=
0
;
ljsw5
=
0
;};
F_FLOAT
cut_inner_sq
,
cut_inner
,
lj1
,
lj2
,
lj3
,
lj4
,
offset
,
ljsw1
,
ljsw2
,
ljsw3
,
ljsw4
,
ljsw5
;
F_FLOAT
cut_inner_sq
,
cut_inner
,
lj1
,
lj2
,
lj3
,
lj4
,
offset
,
ljsw1
,
ljsw2
,
ljsw3
,
ljsw4
,
ljsw5
;
};
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment