Multicore and GPU Programming