Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fdt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
FSL
fdt
Commits
a8136595
Commit
a8136595
authored
12 years ago
by
Moises Fernandez
Browse files
Options
Downloads
Patches
Plain Diff
A simple version of Fibre and Multifibre class to use it inside the CUDA kernels
parent
5ebe20a1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CUDA/fibre_gpu.h
+71
-0
71 additions, 0 deletions
CUDA/fibre_gpu.h
with
71 additions
and
0 deletions
CUDA/fibre_gpu.h
0 → 100644
+
71
−
0
View file @
a8136595
#ifndef __FIBRE_GPU_
#define __FIBRE_GPU_
class
FibreGPU
{
public:
float
m_th
;
float
m_th_prop
;
float
m_th_prior
;
int
m_th_acc
;
int
m_th_rej
;
float
m_ph
;
float
m_ph_prop
;
float
m_ph_prior
;
int
m_ph_acc
;
int
m_ph_rej
;
float
m_f
;
float
m_f_prop
;
float
m_f_prior
;
int
m_f_acc
;
int
m_f_rej
;
//float m_lam;
//float m_lam_prop;
//float m_lam_prior;
float
m_prior_en
;
bool
m_lam_jump
;
//float m_d;
};
class
MultifibreGPU
{
public:
float
m_f0
;
float
m_f0_prop
;
float
m_f0_prior
;
int
m_f0_acc
;
int
m_f0_rej
;
float
m_tau
;
float
m_tau_prop
;
float
m_tau_prior
;
int
m_tau_acc
;
int
m_tau_rej
;
float
m_S0
;
float
m_S0_prop
;
float
m_S0_prior
;
int
m_S0_acc
;
int
m_S0_rej
;
float
m_d
;
float
m_d_prop
;
float
m_d_prior
;
int
m_d_acc
;
int
m_d_rej
;
float
m_dstd
;
float
m_dstd_prop
;
float
m_dstd_prior
;
int
m_dstd_acc
;
int
m_dstd_rej
;
float
m_prior_en
;
float
m_likelihood_en
;
float
m_energy
;
};
#endif
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