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:
@@ -1137,7 +1137,7 @@ void VirtualGPU::submitSvmFreeMemory(amd::SvmFreeMemoryCommand& cmd) {
|
||||
const std::vector<void*>& svmPointers = cmd.svmPointers();
|
||||
if (cmd.pfnFreeFunc() == nullptr) {
|
||||
// pointers allocated using clSVMAlloc
|
||||
for (cl_uint i = 0; i < svmPointers.size(); i++) {
|
||||
for (uint32_t i = 0; i < svmPointers.size(); i++) {
|
||||
amd::SvmBuffer::free(cmd.context(), svmPointers[i]);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user