SWDEV-459254 - Make the memory alignment as 256 from 128.
Change-Id: I349486d315d948d750fdc28bd783e7010154ac3f
This commit is contained in:
committed by
Maneesh Gupta
parent
6ec5074d74
commit
adcacec0dd
@@ -72,7 +72,7 @@ bool ManagedBuffer::create(Resource::MemoryType type) {
|
||||
// ================================================================================================
|
||||
address ManagedBuffer::reserve(uint32_t size, uint64_t* gpu_address) {
|
||||
// Align to the maximum data size available in OpenCL
|
||||
static constexpr uint32_t MemAlignment = sizeof(double[16]);
|
||||
static constexpr uint32_t MemAlignment = sizeof(double[32]);
|
||||
|
||||
// Align reserve size on the vector's boundary
|
||||
uint32_t count = amd::alignUp(size, MemAlignment);
|
||||
|
||||
Reference in New Issue
Block a user