gpuCheck Subroutine

public subroutine gpuCheck(gpuError_t)

Arguments

TypeIntentOptionalAttributesName
integer(kind=kind(hipSuccess)) :: gpuError_t

Called by

proc~~gpucheck~~CalledByGraph proc~gpucheck gpuCheck proc~updatedevice_scalar1d UpdateDevice_Scalar1D proc~updatedevice_scalar1d->proc~gpucheck proc~setinteriorfromequation_mappedvector3d SetInteriorFromEquation_MappedVector3D proc~setinteriorfromequation_mappedvector3d->proc~gpucheck proc~updatedevice_mesh2d UpdateDevice_Mesh2D proc~updatedevice_mesh2d->proc~gpucheck proc~init_vector2d Init_Vector2D proc~init_vector2d->proc~gpucheck proc~setboundarycondition_dgmodel3d setboundarycondition_DGModel3D proc~setboundarycondition_dgmodel3d->proc~gpucheck proc~updatehost_tensor2d UpdateHost_Tensor2D proc~updatehost_tensor2d->proc~gpucheck proc~updatedevice_scalar2d UpdateDevice_Scalar2D proc~updatedevice_scalar2d->proc~gpucheck proc~fluxmethod_dgmodel2d fluxmethod_DGModel2D proc~fluxmethod_dgmodel2d->proc~gpucheck proc~free_lagrange Free_Lagrange proc~free_lagrange->proc~gpucheck proc~init_scalar3d Init_Scalar3D proc~init_scalar3d->proc~gpucheck proc~setinteriorfromequation_mappedscalar3d SetInteriorFromEquation_MappedScalar3D proc~setinteriorfromequation_mappedscalar3d->proc~gpucheck proc~updatehost_vector3d UpdateHost_Vector3D proc~updatehost_vector3d->proc~gpucheck proc~free_tensor2d Free_Tensor2D proc~free_tensor2d->proc~gpucheck proc~updatedevice_tensor3d UpdateDevice_Tensor3D proc~updatedevice_tensor3d->proc~gpucheck proc~init_lagrange~2 Init_Lagrange proc~init_lagrange~2->proc~gpucheck proc~sourcemethod_dgmodel2d sourcemethod_DGModel2D proc~sourcemethod_dgmodel2d->proc~gpucheck proc~updatehost_scalar1d~2 UpdateHost_Scalar1D proc~updatehost_scalar1d~2->proc~gpucheck proc~setgradientboundarycondition_dgmodel1d setgradientboundarycondition_DGModel1D proc~setgradientboundarycondition_dgmodel1d->proc~gpucheck proc~free_scalar1d Free_Scalar1D proc~free_scalar1d->proc~gpucheck proc~free_mesh2d Free_Mesh2D proc~free_mesh2d->proc~gpucheck proc~free_mappedscalar3d Free_MappedScalar3D proc~free_mappedscalar3d->proc~gpucheck proc~free_vector3d Free_Vector3D proc~free_vector3d->proc~gpucheck proc~fluxmethod_dgmodel3d fluxmethod_DGModel3D proc~fluxmethod_dgmodel3d->proc~gpucheck proc~init_tensor2d Init_Tensor2D proc~init_tensor2d->proc~gpucheck proc~init_mesh3d Init_Mesh3D proc~init_mesh3d->proc~gpucheck proc~setinteriorfromequation_mappedvector2d SetInteriorFromEquation_MappedVector2D proc~setinteriorfromequation_mappedvector2d->proc~gpucheck proc~init_mappedscalar2d Init_MappedScalar2D proc~init_mappedscalar2d->proc~gpucheck proc~updatehost_scalar1d UpdateHost_Scalar1D proc~updatehost_scalar1d->proc~gpucheck proc~updatedevice_vector2d UpdateDevice_Vector2D proc~updatedevice_vector2d->proc~gpucheck proc~init_vector3d Init_Vector3D proc~init_vector3d->proc~gpucheck proc~setgradientboundarycondition_dgmodel3d setgradientboundarycondition_DGModel3D proc~setgradientboundarycondition_dgmodel3d->proc~gpucheck proc~free_tensor3d Free_Tensor3D proc~free_tensor3d->proc~gpucheck proc~updatehost_scalar2d UpdateHost_Scalar2D proc~updatehost_scalar2d->proc~gpucheck proc~calculateentropy_dgmodel2d CalculateEntropy_DGModel2D proc~calculateentropy_dgmodel2d->proc~gpucheck proc~setboundarycondition_dgmodel2d setboundarycondition_DGModel2D proc~setboundarycondition_dgmodel2d->proc~gpucheck proc~init_scalar1d~2 Init_Scalar1D proc~init_scalar1d~2->proc~gpucheck proc~init_lagrange Init_Lagrange proc~init_lagrange->proc~gpucheck proc~updatedevice_scalar3d UpdateDevice_Scalar3D proc~updatedevice_scalar3d->proc~gpucheck proc~free_vector2d Free_Vector2D proc~free_vector2d->proc~gpucheck proc~boundaryflux_dgmodel3d BoundaryFlux_DGModel3D proc~boundaryflux_dgmodel3d->proc~gpucheck proc~updatehost_tensor3d UpdateHost_Tensor3D proc~updatehost_tensor3d->proc~gpucheck proc~free_scalar2d Free_Scalar2D proc~free_scalar2d->proc~gpucheck proc~setinteriorfromequation_mappedscalar1d SetInteriorFromEquation_MappedScalar1D proc~setinteriorfromequation_mappedscalar1d->proc~gpucheck proc~boundaryflux_dgmodel1d BoundaryFlux_DGModel1D proc~boundaryflux_dgmodel1d->proc~gpucheck proc~fluxmethod_dgmodel1d fluxmethod_DGModel1D proc~fluxmethod_dgmodel1d->proc~gpucheck proc~setinteriorfromequation_mappedscalar2d SetInteriorFromEquation_MappedScalar2D proc~setinteriorfromequation_mappedscalar2d->proc~gpucheck proc~init_scalar1d Init_Scalar1D proc~init_scalar1d->proc~gpucheck proc~free_scalar3d Free_Scalar3D proc~free_scalar3d->proc~gpucheck proc~init_mesh2d Init_Mesh2D proc~init_mesh2d->proc~gpucheck proc~init_mappedscalar3d Init_MappedScalar3D proc~init_mappedscalar3d->proc~gpucheck proc~updatedevice_tensor2d UpdateDevice_Tensor2D proc~updatedevice_tensor2d->proc~gpucheck proc~updatedevice_mesh3d UpdateDevice_Mesh3D proc~updatedevice_mesh3d->proc~gpucheck proc~init_scalar2d Init_Scalar2D proc~init_scalar2d->proc~gpucheck proc~boundaryflux_dgmodel2d BoundaryFlux_DGModel2D proc~boundaryflux_dgmodel2d->proc~gpucheck proc~free_scalar1d~2 Free_Scalar1D proc~free_scalar1d~2->proc~gpucheck proc~sourcemethod_dgmodel1d sourcemethod_DGModel1D proc~sourcemethod_dgmodel1d->proc~gpucheck proc~updatehost_vector2d UpdateHost_Vector2D proc~updatehost_vector2d->proc~gpucheck proc~updatedevice_vector3d UpdateDevice_Vector3D proc~updatedevice_vector3d->proc~gpucheck proc~sourcemethod_dgmodel3d sourcemethod_DGModel3D proc~sourcemethod_dgmodel3d->proc~gpucheck proc~init_tensor3d Init_Tensor3D proc~init_tensor3d->proc~gpucheck proc~free_lagrange~2 Free_Lagrange proc~free_lagrange~2->proc~gpucheck proc~setgradientboundarycondition_dgmodel2d setgradientboundarycondition_DGModel2D proc~setgradientboundarycondition_dgmodel2d->proc~gpucheck proc~updatedevice_scalar1d~2 UpdateDevice_Scalar1D proc~updatedevice_scalar1d~2->proc~gpucheck proc~updatehost_scalar3d UpdateHost_Scalar3D proc~updatehost_scalar3d->proc~gpucheck proc~calculateentropy_dgmodel3d CalculateEntropy_DGModel3D proc~calculateentropy_dgmodel3d->proc~gpucheck proc~free_mesh3d Free_Mesh3D proc~free_mesh3d->proc~gpucheck proc~sideexchange_mappedscalar1d SideExchange_MappedScalar1D proc~sideexchange_mappedscalar1d->proc~gpucheck proc~free_mappedscalar2d Free_MappedScalar2D proc~free_mappedscalar2d->proc~gpucheck proc~calculateentropy_dgmodel1d CalculateEntropy_DGModel1D proc~calculateentropy_dgmodel1d->proc~gpucheck proc~setboundarycondition_dgmodel1d setboundarycondition_DGModel1D proc~setboundarycondition_dgmodel1d->proc~gpucheck

Contents

Source Code


Source Code

                  subroutine gpuCheck(gpuError_t)
                    implicit none
                    integer(kind(hipSuccess)) :: gpuError_t

                    if(gpuError_t /= hipSuccess) then
                      write(*,*) "GPU ERROR: Error code = ",gpuError_t
                      call exit(gpuError_t)
                    endif
                  endsubroutine gpuCheck