Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22144

A int[2²⁰] array cause OpenMP Segmentation Fault

$
0
0

I have an int flags[(1<<20)]; array and it seems that there's something wrong, and it causes segmentation fault. Is this a stack overflow problem? How much should I set stack size and how?


Viewing all articles
Browse latest Browse all 22144

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>