SWDEV-459254 - Make the memory alignment as 256 from 128.

Change-Id: I349486d315d948d750fdc28bd783e7010154ac3f


[ROCm/clr commit: adcacec0dd]
Cette révision appartient à :
kjayapra-amd a créé et Maneesh Gupta a révisé 2024-05-28 06:31:10 +00:00
1 Parent 5b731168ca
révision d7d7e19de9
1 fichier modifié
+1 -1
+1 -1
Voir le fichier
@@ -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);