1 / 36

ECE498AL Lecture 3: A Simple Example, Tools, and CUDA Threads

2. Step 1: Matrix Multiplication A Simple Host Version in C. M. N. P. . . . . . . . . . . . WIDTH. WIDTH. WIDTH. WIDTH. // Matrix multiplication on the (CPU) hostvoid MatrixMulOnHost(float* M, float* N, float* P, int Width)?{ for (int i = 0; i < Width; i)? for (int j = 0; j < Width;

sela
Download Presentation

ECE498AL Lecture 3: A Simple Example, Tools, and CUDA Threads

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


    1. © David Kirk/NVIDIA and Wen-mei W. Hwu, 2007-2009 ECE498AL, University of Illinois, Urbana-Champaign 1 ECE498AL Lecture 3: A Simple Example, Tools, and CUDA Threads

    2. 2 Step 1: Matrix Multiplication A Simple Host Version in C

More Related