タグ

ブックマーク / oikw.org (1)

  • 利用例

    まずは、openCL.NETのDLLへの参照を追加し、using openCL; をコードの先頭に書きましょう!1. プラットフォームとデバイスを列挙し情報を取得する Platform[] platforms = Platform.GetPlatforms (); for (int i = 0; i < platforms.Length; i ++) { Console.WriteLine ("Platform={0}", i); Console.WriteLine (" Name = {0}", platforms[i].Name); Console.WriteLine (" Vendor = {0}", platforms[i].Vendor); Console.WriteLine (" Version = {0}", platforms[i].Version); Console.Wr

  • 1