-
Notifications
You must be signed in to change notification settings - Fork 842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Tag / debug tape recordings #2343
base: develop
Are you sure you want to change the base?
Changes from all commits
3801e4d
0e5f95b
dc38cc3
19a1a70
36c922e
84e97f4
e68f844
bb0831d
4327942
9f1b07c
6e65dd1
82f69e9
9de8e93
57fbcea
3da17d8
b0e7c86
688797a
8556c2a
683de77
13ca3f5
1169606
3024fe1
019c87f
adaa78c
e6fd4aa
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,11 +90,11 @@ class Array : public CVecExpr<Array<Scalar_t, N>, Scalar_t> { | |
public: | ||
using Scalar = Scalar_t; | ||
enum : size_t { Size = N }; | ||
enum : size_t { Align = Size * sizeof(Scalar) }; | ||
enum : size_t { Align = Size * 32 }; | ||
static constexpr bool StoreAsRef = true; | ||
|
||
private: | ||
alignas(Size * sizeof(Scalar)) Scalar x_[N]; | ||
alignas(Size * 32) Scalar x_[N]; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would you be okay with replacing There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For what type is the result not a power of 2? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The reverse tag type is 24 I think. If There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see, so the tag doesn't have a float/double part? Then it should be ok to round Size * sizeof(Scalar) to the next power of 2. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Well it does contain at least a double for the primal value (show must go on). I'll check or ask what the remaining bytes are for besides two |
||
|
||
public: | ||
#define ARRAY_BOILERPLATE \ | ||
|
Check notice
Code scanning / CodeQL
Commented-out code