- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have large arrays that I need to do FFT transform many times. The Vtune shows the memset as the hottest spot. I used memset to zero init all array values before I assign. Not all matrix elements got assigned values. It is more like a sparse matrix. If I don't use memset and use for loop instead, the program runs even slower. How do I init the array more efficiently? Thanks.
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page