- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
In my C++ program, I use some public functions of some classes in the offload region.I use the statement __attribute ((target(mic))) before the functions. But I found that the program crushed when it goes through the offload regions which use public functions of classes.
So I wonder that if there are some special things to care when I use functions of a class? Is my way correct?
Thank you very much.
コピーされたリンク
1 返信
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
My understanding is that classes are all-or-nothing. The entire class needs to be marked for offload, even if you are only using a few methods in it.
Charles
