1 2 3 4 5 6 7 8 9
extend("gpu") M = gpu:to_tensor([ [1,2], [3,4] ]) InvM = gpu:inverse(M) slog(gpu:to_array(InvM))