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

Change-Id: I349486d315d948d750fdc28bd783e7010154ac3f
このコミットが含まれているのは:
kjayapra-amd authored and Maneesh Gupta committed 2024-05-28 06:31:10 +00:00
1 親 6ec5074d74
コミット adcacec0dd
1ファイル変更
+1 -1
+1 -1
ファイルの表示
@@ -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);