Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
psrdada_cpp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
MPIfR-BDG
psrdada_cpp
Commits
3bc99e14
Commit
3bc99e14
authored
4 years ago
by
sakthipriyas
Browse files
Options
Downloads
Patches
Plain Diff
sk kernel version latest
parent
de81ff2b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
psrdada_cpp/effelsberg/edd/src/SpectralKurtosisCuda.cu
+4
-5
4 additions, 5 deletions
psrdada_cpp/effelsberg/edd/src/SpectralKurtosisCuda.cu
with
4 additions
and
5 deletions
psrdada_cpp/effelsberg/edd/src/SpectralKurtosisCuda.cu
+
4
−
5
View file @
3bc99e14
...
...
@@ -54,11 +54,10 @@ __global__ void compute_sk_kernel(thrust::complex<float> *data, std::size_t samp
}
__syncthreads
();
for
(
int
s
=
1
;
s
<
blockDim
.
x
;
s
*=
2
){
int
index
=
2
*
s
*
l_index
;
if
(
index
<
blockDim
.
x
){
s1
[
index
]
+=
s1
[
index
+
s
];
s2
[
index
]
+=
s2
[
index
+
s
];
for
(
int
s
=
blockDim
.
x
/
2
;
s
>
0
;
s
>>=
1
){
if
(
l_index
<
s
){
s1
[
l_index
]
+=
s1
[
l_index
+
s
];
s2
[
l_index
]
+=
s2
[
l_index
+
s
];
}
__syncthreads
();
}
...
...
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