Pointers and dynamic memory allocation in C
Day: NoneTime: None
Place: None
In order to program in CUDA C, it is important to understand pointers and dynamic memory allocation in C. Although I never actually gave this lecture, the slides and example code here will serve as preparation and background.
Materials
SlidesExample Code
ar1.c
ar2.c
ar3.c
ar4.c
caution1.c
caution2.c
dy1.c
dy2.c
ex0.c
ex1.c
ex2.c
ex3.c
ex4.c
ex5.c
ex6.c
ex7.c
Makefilear2.c
ar3.c
ar4.c
caution1.c
caution2.c
dy1.c
dy2.c
ex0.c
ex1.c
ex2.c
ex3.c
ex4.c
ex5.c
ex6.c
ex7.c
Makefile
Makefile
Makefile
Makefile
Makefile
Makefile
Makefile
Makefile
Makefile
Makefile
Makefile
Makefile
Makefile
Makefile
Makefile