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
ddd6cbd9
Commit
ddd6cbd9
authored
Jul 03, 2017
by
Luka Stanisic
Browse files
cudaPeekAtLastError seems to be more accurate in terms of the error code
parent
8652ab17
Changes
1
Hide whitespace changes
Inline
Side-by-side
bioem_cuda.cu
View file @
ddd6cbd9
...
...
@@ -288,7 +288,7 @@ int bioem_cuda::compareRefMaps(int iOrient, int iConv, myfloat_t amp, myfloat_t
}
cuDoRefMapsFFT
<<<
divup
(
num
,
CUDA_THREAD_COUNT
),
CUDA_THREAD_COUNT
,
0
,
cudaStream
[
j
&
1
]
>>>
(
iOrient
,
iConv
,
amp
,
pha
,
env
,
pFFTtmp
[
j
&
1
],
sumC
,
sumsquareC
,
pProb_device
,
param
.
param_device
,
*
gpumap
,
num
,
i
);
}
checkCudaErrors
(
cuda
Ge
tLastError
());
checkCudaErrors
(
cuda
PeekA
tLastError
());
if
(
GPUDualStream
)
{
checkCudaErrors
(
cudaEventRecord
(
cudaFFTEvent
[
1
],
cudaStream
[
1
]));
...
...
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