Skip to content

Commit

Permalink
Compiling HIP on NVIDIA
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanstocks00 committed Sep 30, 2024
1 parent 2bb4783 commit ecf6eac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/gauxc-dep-versions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ set( GAUXC_CUB_REVISION 1.10.0 )
set( GAUXC_CUTLASS_REPOSITORY https://github.com/NVIDIA/cutlass.git )
set( GAUXC_CUTLASS_REVISION v2.10.0 )

set( GAUXC_EXCHCXX_REPOSITORY https://github.com/wavefunction91/ExchCXX.git )
set( GAUXC_EXCHCXX_REVISION 7b017151061f155cac341f2d155aaa47e43a8190)
set( GAUXC_EXCHCXX_REPOSITORY https://github.com/ryanstocks00/ExchCXX.git )
set( GAUXC_EXCHCXX_REVISION 8a0004609afc710bdad4367867026a9daa0a758b)

set( GAUXC_GAU2GRID_REPOSITORY https://github.com/dgasmith/gau2grid.git )
set( GAUXC_GAU2GRID_REVISION v2.0.6 )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,12 @@ void modify_weights_ssf_kernel_2d( int32_t npts, int32_t natoms,
int cont = (iCenter < natoms);

// We will continue iterating until all of the threads have cont set to 0

#ifdef __HIP_PLATFORM_NVIDIA__
while (__any_sync(__activemask(), cont)) {
#else
while (__any(cont)) {
#endif
if (cont) {
double2 rj[weight_unroll/2];
double2 rab_val[weight_unroll/2];
Expand Down

0 comments on commit ecf6eac

Please sign in to comment.