SWDEV-459254 - Make the memory alignment as 256 from 128.
Change-Id: I349486d315d948d750fdc28bd783e7010154ac3f
This commit is contained in:
کامیت شده توسط
Maneesh Gupta
والد
6ec5074d74
کامیت
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);
|
||||
|
||||
مرجع در شماره جدید
Block a user