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
[ROCm/clr commit: b81816f482]
This commit is contained in:
committato da
Laurent Morichetti
parent
c01c70635c
commit
7de346234a
@@ -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);
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user