Rotation Matrix in CUDA

Hello

I have to make a program in CUDA c/c++ that computes Rotation Matrix of NxN matrix. The function should take two input attributes
-Matrix that should be rotated and
-Vector of angles
the output of this function should return the rotated matrix…:)

Please help…