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
2f565a0d
"wrappers/python/vscode:/vscode.git/clone" did not exist on "91966dc8eb976fadc206e8a345470a737c09fd8b"
Commit
2f565a0d
authored
Jun 18, 2018
by
Peter Eastman
Browse files
Removed unnecessary syncrhonization
parent
9abaa587
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
platforms/cuda/src/kernels/sort.cu
platforms/cuda/src/kernels/sort.cu
+0
-1
platforms/opencl/src/kernels/sort.cl
platforms/opencl/src/kernels/sort.cl
+0
-1
No files found.
platforms/cuda/src/kernels/sort.cu
View file @
2f565a0d
...
@@ -219,7 +219,6 @@ __global__ void sortBuckets(DATA_TYPE* __restrict__ data, const DATA_TYPE* __res
...
@@ -219,7 +219,6 @@ __global__ void sortBuckets(DATA_TYPE* __restrict__ data, const DATA_TYPE* __res
if
(
threadIdx
.
x
<
length
)
if
(
threadIdx
.
x
<
length
)
data
[
startIndex
+
threadIdx
.
x
]
=
dataBuffer
[
threadIdx
.
x
];
data
[
startIndex
+
threadIdx
.
x
]
=
dataBuffer
[
threadIdx
.
x
];
__syncthreads
();
}
}
else
{
else
{
// Copy the bucket data over to the output array.
// Copy the bucket data over to the output array.
...
...
platforms/opencl/src/kernels/sort.cl
View file @
2f565a0d
...
@@ -221,7 +221,6 @@ __kernel void sortBuckets(__global DATA_TYPE* restrict data, __global const DATA
...
@@ -221,7 +221,6 @@ __kernel void sortBuckets(__global DATA_TYPE* restrict data, __global const DATA
if
(
get_local_id
(
0
)
<
length
)
if
(
get_local_id
(
0
)
<
length
)
data[startIndex+get_local_id
(
0
)
]
=
buffer[get_local_id
(
0
)
]
;
data[startIndex+get_local_id
(
0
)
]
=
buffer[get_local_id
(
0
)
]
;
barrier
(
CLK_LOCAL_MEM_FENCE
)
;
}
}
else
{
else
{
//
Copy
the
bucket
data
over
to
the
output
array.
//
Copy
the
bucket
data
over
to
the
output
array.
...
...
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