Skip to content

Commit

Permalink
add 2 phase ccsd_t2_7_3 and broken cublas of the same
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffhammond committed Oct 25, 2024
1 parent 239ce8b commit 9d4040a
Show file tree
Hide file tree
Showing 3 changed files with 546 additions and 9 deletions.
14 changes: 7 additions & 7 deletions src/tce/ccsd/ccsd_t2.F
Original file line number Diff line number Diff line change
Expand Up @@ -302,26 +302,26 @@ SUBROUTINE ccsd_t2(rtdb,d_f1,d_i0,d_t1,d_t2,d_v2,
CALL OFFSET_ccsd_t2_7_1(l_i1_offset,k_i1_offset,size_i1)
CALL TCE_FILENAME('ccsd_t2_7_1_i1',filename)
CALL CREATEFILE(filename,d_i1,size_i1)
CALL ccsd_t2_7_1(d_v2,k_v2_offset,d_i1,k_i1_offset)
if (ccsd_t2_7_alg.eq.1) then
CALL ccsd_t2_7_1(d_v2,k_v2_offset,d_i1,k_i1_offset)
CALL ccsd_t2_7_2(d_t1,k_t1_offset,d_v2,k_v2_offset,
& d_i1,k_i1_offset)
CALL ccsd_t2_7_3(d_t2,k_t2_offset,d_v2,k_v2_offset,
& d_i1,k_i1_offset)
else if (ccsd_t2_7_alg.eq.2) then
! no GPU in 7_1_x yet - it just does transpose
CALL ccsd_t2_7_1_x(d_v2,k_v2_offset,
& d_i1,k_i1_offset,maxh,maxp)
CALL ccsd_t2_7_2_x(d_t1,k_t1_offset,d_v2,k_v2_offset,
& d_i1,k_i1_offset,maxh,maxp)
CALL ccsd_t2_7_3_x(d_t2,k_t2_offset,d_v2,k_v2_offset,
& d_i1,k_i1_offset,maxh,maxp)
else if (ccsd_t2_7_alg.eq.3) then
CALL ccsd_t2_7_1(d_v2,k_v2_offset,
& d_i1,k_i1_offset,maxh,maxp)
CALL ccsd_t2_7_2(d_t1,k_t1_offset,d_v2,k_v2_offset,
& d_i1,k_i1_offset,maxh,maxp)
& d_i1,k_i1_offset)
CALL ccsd_t2_7_3_x(d_t2,k_t2_offset,d_v2,k_v2_offset,
& d_i1,k_i1_offset,maxh,maxp)
else if (ccsd_t2_7_alg.eq.4) then
CALL ccsd_t2_7_2_x(d_t1,k_t1_offset,d_v2,k_v2_offset,
& d_i1,k_i1_offset,maxh,maxp)
CALL ccsd_t2_7_3_y(d_t2,k_t2_offset,d_v2,k_v2_offset,
& d_i1,k_i1_offset,maxh,maxp)
else
CALL errquit('ccsd_t2_7_alg',ccsd_t2_7_alg,INPUT_ERR)
Expand Down
Loading

0 comments on commit 9d4040a

Please sign in to comment.