mirror of
https://github.com/paboyle/Grid.git
synced 2026-09-13 13:03:17 +01:00
Merge pull request #493 from jdmaia/hip_stencil_padding
Fix alignment on StencilEntry struct for HIP
This commit is contained in:
@@ -82,7 +82,7 @@ void DslashLogPartial(void);
|
|||||||
void DslashLogDirichlet(void);
|
void DslashLogDirichlet(void);
|
||||||
|
|
||||||
struct StencilEntry {
|
struct StencilEntry {
|
||||||
#ifdef GRID_CUDA
|
#if defined(GRID_CUDA) || defined(GRID_HIP)
|
||||||
uint64_t _byte_offset; // 8 bytes
|
uint64_t _byte_offset; // 8 bytes
|
||||||
uint32_t _offset; // 4 bytes
|
uint32_t _offset; // 4 bytes
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user