[25] Now assume we want to implement the MrBayes kernel on a GPU using a single thread block. Rewrite the C code of the kernel using CUDA. Assume that pointers to the conditional likelihood and...

[25] Now assume we want to implement the MrBayes kernel on a GPU

using a single thread block. Rewrite the C code of the kernel using CUDA.


Assume that pointers to the conditional likelihood and transition probability


tables are specified as parameters to the kernel. Invoke one thread for each iteration


of the loop. Load any reused values into shared memory before performing


operations on it.




May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here