Fix build errors for PAL and GSL
The last commit to replace the cl_* types with standard types failed to correct issues introduced in the PAL and GPU backend. Change-Id: I926997234dfbe346fc165a7bc4e1b8aabab7bac5
This commit is contained in:
committed by
Laurent Morichetti
parent
a965c1eb0e
commit
b81816f482
@@ -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(double16);
|
||||
static constexpr uint32_t MemAlignment = sizeof(double[16]);
|
||||
|
||||
// Align reserve size on the vector's boundary
|
||||
uint32_t count = amd::alignUp(size, MemAlignment);
|
||||
|
||||
Reference in New Issue
Block a user