CUDA for Engineers
Home > Computing and Information Technology > Computer science > Computer architecture and logic design > Parallel processing > CUDA for Engineers: An Introduction to High-Performance Parallel Computing
CUDA for Engineers: An Introduction to High-Performance Parallel Computing

CUDA for Engineers: An Introduction to High-Performance Parallel Computing

|
     0     
5
4
3
2
1




International Edition


About the Book

CUDA for Engineers gives you direct, hands-on engagement with personal, high-performance parallel computing, enabling you to do computations on a gaming-level PC that would have required a supercomputer just a few years ago.   The authors introduce the essentials of CUDA C programming clearly and concisely, quickly guiding you from running sample programs to building your own code. Throughout, you’ll learn from complete examples you can build, run, and modify, complemented by additional projects that deepen your understanding. All projects are fully developed, with detailed building instructions for all major platforms.   Ideal for any scientist, engineer, or student with at least introductory programming experience, this guide assumes no specialized background in GPU-based or parallel computing. In an appendix, the authors also present a refresher on C programming for those who need it.   Coverage includes Preparing your computer to run CUDA programs Understanding CUDA’s parallelism model and C extensions Transferring data between CPU and GPU Managing timing, profiling, error handling, and debugging Creating 2D grids Interoperating with OpenGL to provide real-time user interactivity Performing basic simulations with differential equations Using stencils to manage related computations across threads Exploiting CUDA’s shared memory capability to enhance performance Interacting with 3D data: slicing, volume rendering, and ray casting Using CUDA libraries Finding more CUDA resources and code   Realistic example applications include Visualizing functions in 2D and 3D Solving differential equations while changing initial or boundary conditions Viewing/processing images or image stacks Computing inner products and centroids Solving systems of linear algebraic equations Monte-Carlo computations  

Table of Contents:
Acknowledgments            xvii About the Authors             xix   Introduction          1 What Is CUDA?     1 What Does “Need-to-Know” Mean for Learning CUDA?     2 What Is Meant by “for Engineers”?     3 What Do You Need to Get Started with CUDA?      4 How Is This Book Structured?      4 Conventions Used in This Book      8 Code Used in This Book      8 User’s Guide      9 Historical Context      10 References      12   Chapter 1: First Steps            13 Running CUDA Samples      13 Running Our Own Serial Apps      19 Summary      22 Suggested Projects      23   Chapter 2: CUDA Essentials           25 CUDA’s Model for Parallelism     25 Need-to-Know CUDA API and C Language Extensions     28 Summary      31 Suggested Projects      31 References      31   Chapter 3: From Loops to Grids           33 Parallelizing dist_v1    33 Parallelizing dist_v2      38 Standard Workflow      42 Simplified Workflow      43 Summary      47 Suggested Projects      48 References      48   Chapter 4: 2D Grids and Interactive Graphics           49 Launching 2D Computational Grids      50 Live Display via Graphics Interop     56 Application: Stability      66 Summary      76 Suggested Projects      76 References      77   Chapter 5: Stencils and Shared Memory           79 Thread Interdependence      80 Computing Derivatives on a 1D Grid      81 Summary     117 Suggested Projects      118 References      119   Chapter 6: Reduction and Atomic Functions          121 Threads Interacting Globally      121 Implementing parallel_dot      123 Computing Integral Properties: centroid_2d      130 Summary      138 Suggested Projects      138 References       138   Chapter 7: Interacting with 3D Data           141 Launching 3D Computational Grids: dist_3d     144 Viewing and Interacting with 3D Data: vis_3d      146 Summary      171 Suggested Projects     171 References     171   Chapter 8: Using CUDA Libraries           173 Custom versus Off-the-Shelf      173 Thrust      175 cuRAND      190 NPP      193 Linear Algebra Using cuSOLVER and cuBLAS      . 201 cuDNN      207 ArrayFire      207 Summary      207 Suggested       208 References     209   Chapter 9: Exploring the CUDA Ecosystem            211 The Go-To List of Primary Sources      211 Further Sources      217 Summary      218 Suggested Projects     219   Appendix A: Hardware Setup           221 Checking for an NVIDIA GPU: Windows      221 Checking for an NVIDIA GPU: OS X     222 Checking for an NVIDIA GPU: Linux     223 Determining Compute Capability      223 Upgrading Compute Capability      225   Appendix B: Software Setup            229 Windows Setup     229 OS X Setup      238 Linux Setup      240   Appendix C: Need-to-Know C Programming          245 Characterization of C     245 C Language Basics      246 Data Types, Declarations, and Assignments      248 Defining Functions      250 Building Apps: Create, Compile, Run, Debug      251 Arrays, Memory Allocation, and Pointers      262 Control Statements: for, if      263 Sample C Programs     267 References     277   Appendix D: CUDA Practicalities: Timing, Profiling, Error Handling, and Debugging            279 Execution Timing and Profiling      279 Error Handling     292 Debugging in Windows      298 Debugging in Linux     305 CUDA-MEMCHECK     308 Using Visual Studio Property Pages      309 References     312   Index            313  


Best Sellers


Product Details
  • ISBN-13: 9780134177410
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison Wesley
  • Height: 234 mm
  • No of Pages: 352
  • Spine Width: 18 mm
  • Weight: 596 gr
  • ISBN-10: 013417741X
  • Publisher Date: 31 Dec 2015
  • Binding: Paperback
  • Language: English
  • Returnable: Y
  • Sub Title: An Introduction to High-Performance Parallel Computing
  • Width: 187 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
CUDA for Engineers: An Introduction to High-Performance Parallel Computing
Pearson Education (US) -
CUDA for Engineers: An Introduction to High-Performance Parallel Computing
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

CUDA for Engineers: An Introduction to High-Performance Parallel Computing

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!