- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi,
I'm able to declare "MKL_Complex8 a[62][1024] " but not able to declare MKL_Complex8 a[63][1024].
it's gives error like process stopped working.but when i declare float a[63][1024], it doesn't give any error.
i'm using MKL 11.0 under MS Visual studio 2008.
Regards
コピーされたリンク
4 返答(返信)
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
pls try to dynamically allocates the memory instead of static:
MKL_Complex8 *a = (MKL_Complex8 *) calloc( m*n, sizeof( MKL_Complex8 ) );
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Can u please tell me what is the reason behind having issue with static allocation?
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Can u please tell me what is the reason behind having issue with static allocation? If the array is an automatic variable and those are being allocated on the stack, a large array may cause the stack to become used up. Your array, for example, would require about 1 megabyte just for itself.