Skip to content

Commit

Permalink
changed the include of hipblas.h
Browse files Browse the repository at this point in the history
  • Loading branch information
liligwu committed Sep 25, 2024
1 parent c4d3328 commit b840222
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fbgemm_gpu/cmake/Hip.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ if(HIP_FOUND)
set(FBGEMM_HIP_INCLUDE ${ROCM_PATH}/include ${FBGEMM_HIP_INCLUDE})
set(FBGEMM_HIP_INCLUDE ${hip_INCLUDE_DIRS} $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}> $<INSTALL_INTERFACE:include> ${FBGEMM_HIP_INCLUDE})

hip_include_directories(${FBGEMM_HIP_INCLUDE} ${ROCRAND_INCLUDE} ${ROCM_SMI_INCLUDE} /opt/rocm/include/hipblas)
hip_include_directories(${FBGEMM_HIP_INCLUDE} ${ROCRAND_INCLUDE} ${ROCM_SMI_INCLUDE})

list (APPEND CMAKE_PREFIX_PATH ${HIP_PATH} ${ROCM_PATH})
endif()
2 changes: 1 addition & 1 deletion fbgemm_gpu/src/sparse_ops.cu
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include "fbgemm_gpu/split_embeddings_utils.cuh"

#ifdef USE_ROCM
#include <hipblas.h>
#include <hipblas/hipblas.h>
#endif

#ifdef USE_ROCM
Expand Down

0 comments on commit b840222

Please sign in to comment.