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:
Laurent Morichetti
2020-02-13 11:24:03 -08:00
committed by Laurent Morichetti
parent a965c1eb0e
commit b81816f482
5 changed files with 21 additions and 21 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(double16);
static constexpr uint32_t MemAlignment = sizeof(double[16]);
// Align reserve size on the vector's boundary
uint32_t count = amd::alignUp(size, MemAlignment);