Followon commit

This commit is contained in:
mfeemster
2014-12-09 02:03:54 -08:00
parent 3e70b8eec6
commit d42cdfafe4
4 changed files with 6 additions and 3 deletions

View File

@ -336,7 +336,7 @@ bool RendererCL<T>::ClearFinal()
template <typename T>
size_t RendererCL<T>::MemoryAvailable()
{
return Ok() ? m_Wrapper.GetInfo<cl_ulong>(PlatformIndex(), DeviceIndex(), CL_DEVICE_GLOBAL_MEM_SIZE) : 0ULL;
return Ok() ? m_Wrapper.GlobalMemSize() : 0ULL;
}
/// <summary>