Adding support in allocating executable memory

Signed-off-by: Ben Goz <ben.goz@amd.com>
Tá an tiomantas seo le fáil i:
Ben Goz údaraithe agus Oded Gabbay tiomanta 2014-12-07 14:36:21 +02:00
1 tuismitheoir 5d82c65602
tiomantas bd7e10b0ec
2 comhad athraithe
+26 -15

Níor tháinig aon chomhaid le do chuardach

+2 -1
Féach ar an gComhad
@@ -420,7 +420,8 @@ typedef struct _HsaMemFlags
// when setting this entry to 1. Scratch allocation may fail due to limited
// resources. Application code is required to work without any allocation.
// Allocation fails on any node without GPU function.
unsigned int Reserved : 22;
unsigned int ExecAccess : 1;
unsigned int Reserved : 21;
} ui32;
HSAuint32 Value;
};