Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ function(MFC_SETUP_TARGET)
endforeach()

target_compile_options(${a_target}
PRIVATE -gpu=keep,ptxinfo,lineinfo
PRIVATE -gpu=keep,ptxinfo,lineinfo -gpu=maxregcount:128
)

if (MFC_Fastmath)
Expand Down
1 change: 1 addition & 0 deletions src/simulation/m_igr.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ module m_igr
#ifdef __NVCOMPILER_GPU_UNIFIED_MEM
integer, dimension(3) :: nv_uvm_temp_on_gpu
real(wp), pointer, contiguous, dimension(:, :, :) :: jac, jac_rhs, jac_old
$:GPU_DECLARE(create='[jac, jac_rhs, jac_old]')
real(wp), allocatable, dimension(:, :, :), pinned, target :: jac_host
real(wp), allocatable, dimension(:, :, :), pinned, target :: jac_rhs_host
real(wp), allocatable, dimension(:, :, :), pinned, target :: jac_old_host
Expand Down
Loading