Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
VILLASframework
VILLASfpga
VILLASfpga
Commits
be5f56f6
Commit
be5f56f6
authored
Sep 11, 2018
by
Daniel Krebs
Browse files
rtds2gpu: fix bug in offset calculation
parent
90cb9374
Changes
1
Show whitespace changes
Inline
Side-by-side
include/villas/fpga/ips/rtds2gpu/register_types.hpp
View file @
be5f56f6
...
...
@@ -48,7 +48,7 @@ struct Rtds2GpuMemoryBuffer {
// HACK: This might break horribly, let's just hope C++17 will be there soon
static
constexpr
size_t
dataOffset
=
0
;
static
constexpr
size_t
doorbellOffset
=
N
*
sizeof
(
Rtds2GpuMemoryBuffer
::
data
);
static
constexpr
size_t
doorbellOffset
=
sizeof
(
Rtds2GpuMemoryBuffer
::
data
);
T
data
[
N
];
reg_doorbell_t
doorbell
;
...
...
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