Software Archive
Read-only legacy content
17061 Discussions

use VM _Cilk_shared_malloc how much memory can I apply

bing_z_
Beginner
389 Views

when i use Virtual Memory to use MIC PHI, but when I use _Cilk_shared_malloc to alloc 256MB memory but it doesn't work. the error tell me i alloc memory error. but I use it to alloc 128MB it can work. so i want to konw. if _Cilk_shared_malloc has some restrict when i alloc memory. if is it i can't alloc more than 256MB memory??

0 Kudos
1 Reply
Frances_R_Intel
Employee
389 Views

This is related to forum issue https://software.intel.com/en-us/forums/topic/558891 in which Rajiv states that shared memory under the _Cilk_shared model is limited to approximately 45% of available coprocessor memory.

0 Kudos
Reply