cuda example checks rv of CudaXrayInit