第13章計算の性能
13.3.4. Exercises13.3.4 練習問題
- Eight operations were performed in the
runfunction defined in this section. There are no dependencies between them. Design an experiment to see if the deep learning framework will automatically execute them in parallel.英語のヒント
この節で定義したrun関数では、八つの演算が行われた。それらのあいだに依存はない。深層学習のフレームワークがそれらを自動的に並列に実行するかどうかを見る実験を設計せよ。 - When the workload of an individual operator is sufficiently small, parallelization can help even on a single CPU or GPU. Design an experiment to verify this.
英語のヒント
個々の演算子の作業量が十分小さいときは、一つのCPUやGPUでも並列化が役立つことがある。これを確かめる実験を設計せよ。 - Design an experiment that uses parallel computation on CPUs, GPUs, and communication between both devices.
英語のヒント
CPUとGPUでの並列計算と、両方の装置のあいだの通信を使う実験を設計せよ。 - Designing computation tasks that include more complex data dependencies, and run experiments to see if you can obtain the correct results while improving performance.
英語のヒント
もっと複雑なデータの依存を含む計算タスクを設計し、性能を改善しながら正しい結果が得られるかを見る実験を行え。