Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in memory-alignment

Problem with aligning Rust structs to send to the GPU using bytemuck and WGPU

Is __STDCPP_DEFAULT_NEW_ALIGNMENT__ >= alignof(std::max_align_t)?

What do the MIPS load word left (LWL) and load word right (LWR) instructions do?

Assert that a pointer is aligned to some value

Memory aligned QVector().data()

How to fix a warning (ignoring attributes) with a `vector` of `__m256`

What is the alignment requirement of malloc(1)

Question regarding the memory alignment offset multiple for Vertex buffer data when calling vkCmdBindVertexBuffers()

Is pointer arithmetic still well defined after casting with alignment violation?

Can I use std::align to verify the alignment of a given pointer?

c++ c++14 memory-alignment

Can I move between contiguous sequences of fields of the same type in a struct using pointer arithmetic without alignof?

Why is alignof(max_align_t) 16?

c memory-alignment alignof

Storing an std::assume_aligned pointer C++ 20

Why is it not possible to read an unaligned word in one step?

How to properly use std::align

c++ c++11 memory-alignment

How can I indicate to the compiler that a pointer parameter is aligned?

Why does __m128 cause alignment issues in a union with float x/y/z?

Marshalling structs with non-aligned arrays

Default structure alignment for 32 bit processor word

c arm memory-alignment

Difference of ALIGN() and round_up() macro in the Linux kernel