We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5763d9e commit 44ed979Copy full SHA for 44ed979
rocclr/device/pal/palconstbuf.cpp
@@ -72,7 +72,7 @@ bool ManagedBuffer::create(Resource::MemoryType type) {
72
// ================================================================================================
73
address ManagedBuffer::reserve(uint32_t size, uint64_t* gpu_address) {
74
// Align to the maximum data size available in OpenCL
75
- static constexpr uint32_t MemAlignment = sizeof(double[16]);
+ static constexpr uint32_t MemAlignment = sizeof(double[32]);
76
77
// Align reserve size on the vector's boundary
78
uint32_t count = amd::alignUp(size, MemAlignment);
0 commit comments