Skip to content
Merged
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 CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Change Log for hipBLASLt

## (Unreleased) hipBLASLt 1.0.0
## (Unreleased) hipBLASLt 0.1.0
### Added
- Enable hipBLASLt APIs
- Support gfx90a
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ endif()
find_package( hipblas 0.50.0 REQUIRED CONFIG PATHS ${HIP_DIR} ${ROCM_PATH} /opt/rocm)

# Setup version
set(VERSION_STRING "0.0.7")
set(VERSION_STRING "0.1.0")
rocm_setup_version(VERSION ${VERSION_STRING})
set(hipblaslt_SOVERSION 0.1)

Expand Down
6 changes: 3 additions & 3 deletions docs/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ Build Library Using Individual Commands
cd [HIPBLASLT_BUILD_DIR]/release
# Default install location is in /opt/rocm, define -DCMAKE_INSTALL_PREFIX=<path> to specify other
# Default build config is 'Release', define -DCMAKE_BUILD_TYPE=<config> to specify other
CXX=/opt/rocm/bin/hipcc ccmake [HIPBLAS_SOURCE]
CXX=/opt/rocm/bin/hipcc ccmake [HIPBLASLT_SOURCE]
make -j$(nproc)
sudo make install # sudo required if installing into system directory such as /opt/rocm

Expand All @@ -172,14 +172,14 @@ The hipBLASLt samples have no external dependencies, but our unit test and bench
- `lapack <https://github.com/Reference-LAPACK/lapack-release>`_, lapack itself brings a dependency on a fortran compiler
- `googletest <https://github.com/google/googletest>`_

Unfortunately, googletest and lapack are not as easy to install. Many distros do not provide a googletest package with pre-compiled libraries, and the lapack packages do not have the necessary cmake config files for cmake to configure linking the cblas library. hipBLAS provide a cmake script that builds the above dependencies from source. This is an optional step; users can provide their own builds of these dependencies and help cmake find them by setting the CMAKE_PREFIX_PATH definition. The following is a sequence of steps to build dependencies and install them to the cmake default /usr/local.
Unfortunately, googletest and lapack are not as easy to install. Many distros do not provide a googletest package with pre-compiled libraries, and the lapack packages do not have the necessary cmake config files for cmake to configure linking the cblas library. hipBLASLt provide a cmake script that builds the above dependencies from source. This is an optional step; users can provide their own builds of these dependencies and help cmake find them by setting the CMAKE_PREFIX_PATH definition. The following is a sequence of steps to build dependencies and install them to the cmake default /usr/local.

(optional, one time only)
~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block::bash
mkdir -p [HIPBLASLT_BUILD_DIR]/release/deps
cd [HIPBLASLT_BUILD_DIR]/release/deps
ccmake -DBUILD_BOOST=OFF [HIPBLAS_SOURCE]/deps # assuming boost is installed through package manager as above
ccmake -DBUILD_BOOST=OFF [HIPBLASLT_SOURCE]/deps # assuming boost is installed through package manager as above
make -j$(nproc) install

Once dependencies are available on the system, it is possible to configure the clients to build. This requires a few extra cmake flags to the library cmake configure script. If the dependencies are not installed into system defaults (like /usr/local ), you should pass the CMAKE_PREFIX_PATH to cmake to help find them.
Expand Down
4 changes: 2 additions & 2 deletions library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/include/hipblaslt-version.h.in"
configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/include/hipblaslt.h" "${PROJECT_BINARY_DIR}/include/hipblaslt/hipblaslt.h" COPYONLY)
configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/include/hipblaslt-types.h" "${PROJECT_BINARY_DIR}/include/hipblaslt/hipblaslt-types.h" COPYONLY)

# Public hipBLAS headers
# Public hipBLASLt headers
set(hipblaslt_headers_public
include/hipblaslt.h
${PROJECT_BINARY_DIR}/include/hipblaslt/hipblaslt-version.h
Expand Down Expand Up @@ -74,7 +74,7 @@ if( BUILD_WITH_TENSILE )

# bypassing cmake dependencies chain for static link as it won't allow target from different directory

# including tensile headers into hipblas tensileHost client so get compile properties
# including tensile headers into hipblaslt tensileHost client so get compile properties
get_target_property(TensileHost_INCLUDES TensileHost INCLUDE_DIRECTORIES)
target_include_directories( hipblaslt PRIVATE ${TensileHost_INCLUDES} )
get_target_property(TensileHost_DEFINES TensileHost COMPILE_DEFINITIONS)
Expand Down
2 changes: 1 addition & 1 deletion library/src/amd_detail/hipblaslt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ catch(...)
hipblasStatus_t hipblasLtGetGitRevision(hipblasLtHandle_t handle, char* rev)
try
{
// Get hipBLAS revision
// Get hipBLASLt revision
if(handle == nullptr)
{
return HIPBLAS_STATUS_NOT_INITIALIZED;
Expand Down