LoginSignup
1
1

More than 5 years have passed since last update.

C#からThrustを使う方法(またはネイティブなクラスを使う方法)

Posted at

といっても大したことではなくて、いわゆるネイティブC++からC#を呼び出す方法という感じ。
注意点は(というほどでもないけど)、thrust::device_vectorなどのネイティブなクラスとか構造体は、ポインタにしてC#側に返して、C#側はSystem.IntPtrを使うというところ。

詳細は、百聞は一見にしかずなので、githubレポジトリに上げたので、それを見てもらうほうが早いと思います。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1