Navigate into the directory which contains mm-cuda.cu file.
Compile mm-cuda.cu.
$ nvcc –arch=sm_32 mm-cuda.cu –o mm-cuda –lcuda -lcudartTo run matrix of size 512 x 512.
$ ./mm-cuda 512To run matrix of size 1024 x 1024.
$ ./mm-cuda 1024| Name | Name | Last commit date | ||
|---|---|---|---|---|
Navigate into the directory which contains mm-cuda.cu file.
Compile mm-cuda.cu.
$ nvcc –arch=sm_32 mm-cuda.cu –o mm-cuda –lcuda -lcudartTo run matrix of size 512 x 512.
$ ./mm-cuda 512To run matrix of size 1024 x 1024.
$ ./mm-cuda 1024