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
aca30cd8
Commit
aca30cd8
authored
May 14, 2009
by
Christopher Bruns
Browse files
Add newline to end of kRandom.cu to avoid compiler warning on Linux
parent
10379a9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
platforms/cuda/src/kernels/kRandom.cu
platforms/cuda/src/kernels/kRandom.cu
+2
-1
No files found.
platforms/cuda/src/kernels/kRandom.cu
View file @
aca30cd8
...
@@ -177,4 +177,5 @@ __global__ void kGenerateRandoms_kernel()
...
@@ -177,4 +177,5 @@ __global__ void kGenerateRandoms_kernel()
void
kGenerateRandoms
(
gpuContext
gpu
)
void
kGenerateRandoms
(
gpuContext
gpu
)
{
{
kGenerateRandoms_kernel
<<<
gpu
->
sim
.
blocks
,
gpu
->
sim
.
random_threads_per_block
,
gpu
->
sim
.
random_threads_per_block
*
2
*
sizeof
(
float3
)
>>>
();
kGenerateRandoms_kernel
<<<
gpu
->
sim
.
blocks
,
gpu
->
sim
.
random_threads_per_block
,
gpu
->
sim
.
random_threads_per_block
*
2
*
sizeof
(
float3
)
>>>
();
}
}
\ No newline at end of file
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