mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
64k alignment for cl buffers
This commit is contained in:
@@ -342,7 +342,7 @@ clCreateBuffer(cl_context context,
|
||||
cl_mem clmem = (cl_mem)g_cl_genode->alloc(sizeof(struct _cl_mem));
|
||||
if(host_ptr == NULL)
|
||||
{
|
||||
host_ptr = g_cl_genode->aligned_alloc(0x1000, size);
|
||||
host_ptr = g_cl_genode->aligned_alloc(0x10000, size); // without LARGE_PAGES 0x1000 alignment is enough
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user