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:
Laurent Morichetti
2020-02-12 13:16:06 -08:00
parent da5f4c554e
commit d9d9c69399
42 changed files with 419 additions and 419 deletions
+1 -1
View File
@@ -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);