File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Docs/sphinx_documentation/source Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -704,7 +704,7 @@ reading from command line or input file.
704704
705705Because many AMReX classes and functions (including destructors
706706inserted by the compiler) do not function properly after
707- :cpp: `amrex:Finalize ` is called, it's best to put the codes between
707+ :cpp: `amrex:: Finalize ` is called, it's best to put the codes between
708708:cpp: `amrex::Initialize ` and :cpp: `amrex::Finalize ` into its scope
709709(e.g., a pair of curly braces or a separate function) to make sure
710710resources are properly freed.
Original file line number Diff line number Diff line change @@ -65,11 +65,15 @@ namespace {
6565namespace {
6666 __host__ __device__ void amrex_check_wavefront_size () {
6767#ifdef __HIP_DEVICE_COMPILE__
68- // https://github.com/AMReX-Codes/amrex/issues/3792
69- // __AMDGCN_WAVEFRONT_SIZE is valid in device code only.
70- // Thus we have to check it this way.
68+ // * https://github.com/AMReX-Codes/amrex/issues/3792
69+ // __AMDGCN_WAVEFRONT_SIZE is valid in device code only.
70+ // Thus we have to check it this way.
71+ // * https://github.com/AMReX-Codes/amrex/issues/4270
72+ // __AMDGCN_WAVEFRONT_SIZE will be deprecated.
73+ #ifdef __AMDGCN_WAVEFRONT_SIZE
7174 static_assert (__AMDGCN_WAVEFRONT_SIZE == AMREX_AMDGCN_WAVEFRONT_SIZE,
7275 " Please let the amrex team know if you encounter this" );
76+ #endif
7377#endif
7478 }
7579}
You can’t perform that action at this time.
0 commit comments