Replace cl_* integral types with standard types.
cl_bool -> bool cl_int -> int32_t cl_uint -> uint32_t cl_long -> int64_t cl_ulong -> uint64_t cl_float -> float cl_double -> double cl_bitfield -> uint64_t Change-Id: I840c8993b55f98f5b745d21e27f5f28233647a58
This commit is contained in:
@@ -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(cl_double16);
|
||||
static constexpr uint32_t MemAlignment = sizeof(double16);
|
||||
|
||||
// Align reserve size on the vector's boundary
|
||||
uint32_t count = amd::alignUp(size, MemAlignment);
|
||||
|
||||
Reference in New Issue
Block a user