Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MPIBP-Hummer
BioEM
Commits
62cf7c72
Commit
62cf7c72
authored
Jul 24, 2014
by
Pilar Cossio
Browse files
New Class for printing out Cross Correlations
parent
39d71b60
Changes
1
Hide whitespace changes
Inline
Side-by-side
bioem_cuda.cu
View file @
62cf7c72
...
...
@@ -398,6 +398,8 @@ int bioem_cuda::deviceInit()
gpumap
->
sumsquare_RefMap
=
sumsquare
;
checkCudaErrors
(
cudaMalloc
(
&
pProb_memory
,
pProb_device
.
get_size
(
RefMap
.
ntotRefMap
,
param
.
nTotGridAngles
,
param
.
param_device
.
writeAngles
)));
checkCudaErrors
(
cudaMalloc
(
&
pProb_memory
,
pProb_device
.
get_sizeCC
(
RefMap
.
ntotRefMap
,
param
.
nTotCC
,
param
.
param_device
.
writeCC
)));
for
(
int
i
=
0
;
i
<
2
;
i
++
)
{
checkCudaErrors
(
cudaStreamCreate
(
&
cudaStream
[
i
]));
...
...
@@ -483,6 +485,7 @@ int bioem_cuda::deviceStartRun()
maxRef
=
(
size_t
)
RefMap
.
ntotRefMap
*
(
size_t
)
GPUWorkload
/
100
;
pProb_host
=
new
bioem_Probability
;
pProb_host
->
init
(
maxRef
,
param
.
nTotGridAngles
,
*
this
);
pProb_host
->
initCC
(
maxRef
,
param
.
nTotCC
,
*
this
);
pProb_host
->
copyFrom
(
&
pProb
,
*
this
);
}
...
...
Write
Preview
Supports
Markdown
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