philox4x32x10#

説明#

Philox4x32-10 カウンターベースの疑似乱数生成器 [Salmon11]。

API#

構文#

namespace oneapi::mkl::rng { 
  class philox4x32x10 { 
  public: 
      static constexpr std::uint64_t default_seed = 0; 

      philox4x32x10(sycl::queue queue, std::uint64_t seed = default_seed); 
      philox4x32x10(sycl::queue queue, std::initializer_list<std::uint64_t> seed); 
      philox4x32x10(const philox4x32x10& other); 
      philox4x32x10(philox4x32x10&& other); 
      philox4x32x10& operator=(const philox4x32x10& other); 
      philox4x32x10& operator=(philox4x32x10&& other); 
      ~philox4x32x10(); 
  }; 
}

サポートされるデバイス: CPU と GPU。

インクルード・ファイル#

  • oneapi/mkl/rng.hpp

入力パラメーター#

名前

タイプ

説明

queue

sycl::queue

有効な sycl::queueoneapi::mkl::rng::generate() ルーチンの呼び出しにより、カーネルがこのキューに送信されます。

seed

std::uint64_t std::initializer_list<std::uint64_t>

生成器状態またはエンジン状態の初期条件。

この詳細については VS ノートを参照してください。