I have a 1-D array, say “x” with 441x1 elements. Now I have two more inputs - matrix “A(3x3)” and vector “b”(3x1) which are initialized apriori.
Now I need to solve Ax = b for different segmented values of “x” (of size 3x1) in parallel using cublas. All the variables, “A”, "b’ and “x” are of the double data type.
(ie) I would like to compute steps below in parallel:
A x(1 to 3) = b
A x(4 to 6) = b
A x(7 to 9) = b
Could you please suggest how this can be done using cublas calls?