- Hands-On GPU Programming with Python and CUDA
- Dr. Brian Tuomanen
- 171字
- 2021-06-10 19:25:35
Questions
- There are three for statements in this chapter's Mandelbrot example; however, we can only parallelize over the first two. Why can't we parallelize over all of the for loops here?
- What is something that Amdahl's Law doesn't account for when we apply it to offloading a serial CPU algorithm to a GPU?
- Suppose that you gain exclusive access to three new top-secret GPUs that are the same in all respects, except for core counts—the first has 131,072 cores, the second has 262,144 cores, and the third has 524,288 cores. If you parallelize and offload the Mandelbrot example onto these GPUs (which generates a 512 x 512 pixel image), will there be a difference in computation time between the first and second GPU? How about between the second and third GPU?
- Can you think of any problems with designating certain algorithms or blocks of code as parallelizable in the context of Amdahl's Law?
- Why should we use profilers instead of just using Python's time function?
推薦閱讀
- 全屋互聯:智能家居系統開發指南
- Linux系統架構與運維實戰
- Learn Helm
- Ubuntu Linux操作系統
- 高性能Linux服務器構建實戰:系統安全、故障排查、自動化運維與集群架構
- 從零開始學安裝與重裝系統
- Linux軟件管理平臺設計與實現
- Java EE 7 Developer Handbook
- Linux系統安全:縱深防御、安全掃描與入侵檢測
- Xamarin Mobile Application Development for Android
- Windows PE權威指南
- Building E-commerce Sites with Drupal Commerce Cookbook
- 蘋果Mac OS X El Capitan 10.11完全手冊
- Azure DevOps Server 2019 Cookbook(Second Edition)
- 計算機應用基礎(Windows 7+Office 2016)上機指導與習題集