SWDEV-459254 - Make the memory alignment as 256 from 128.
Change-Id: I349486d315d948d750fdc28bd783e7010154ac3f
[ROCm/clr commit: adcacec0dd]
Этот коммит содержится в:
коммит произвёл
Maneesh Gupta
родитель
5b731168ca
Коммит
d7d7e19de9
@@ -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