diff --git a/CMakeLists.txt b/CMakeLists.txt index 88fed44..73a4eeb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ set(CMAKE_C_COMPILER "/usr/bin/clang-18") set(CMAKE_CUDA_FLAGS -allow-unsupported-compiler) project(cupybara - VERSION 1.0.1 + VERSION 1.0.2 LANGUAGES CXX C CUDA ) diff --git a/README.md b/README.md index f55938f..fda8a67 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ ## Installation - Download the latest release of Cupybara using the release tab on the right - Cd to the directory the wheel was downloaded -- Run `sudo pip install --force-reinstall cupybara-1.0.1-py3-none-any.whl` +- Run `sudo pip install --force-reinstall cupybara-1.0.2-py3-none-any.whl` ## Performance **Performance Measured On 1000x1000 Matrices** diff --git a/build.sh b/build.sh index 544b0db..200475c 100755 --- a/build.sh +++ b/build.sh @@ -5,4 +5,4 @@ cmake --install build cd package/ python3 -m build cd dist -sudo pip install --force-reinstall cupybara-1.0.1-py3-none-any.whl +sudo pip install --force-reinstall cupybara-1.0.2-py3-none-any.whl diff --git a/cmake/installation.cmake b/cmake/installation.cmake index 4042581..39fe13b 100644 --- a/cmake/installation.cmake +++ b/cmake/installation.cmake @@ -1,5 +1,5 @@ # Destiantion for all of the deps -set(CUPYBARA_PACKAGE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/package/cupybara_jbrhm) +set(CUPYBARA_PACKAGE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/package/cupybara) set(CUPYBARA_INSTALLATION_DIR ${CUPYBARA_PACKAGE_DIR}/lib) set(CUPYBARA_LIB_DIR ${CMAKE_BINARY_DIR}/libcupybara.so) file( @@ -20,8 +20,8 @@ install(FILES ${CUPYBARA_LIB_DIR} DESTINATION ${CUPYBARA_INSTALLATION_DIR}) # Install Shared Library Dependencies install(CODE [[ - set(CUPYBARA_LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/package/cupybara_jbrhm/lib/libcupybara.so) - set(CUPYBARA_INSTALLATION_DIR ${CMAKE_CURRENT_SOURCE_DIR}/package/cupybara_jbrhm/lib) + set(CUPYBARA_LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/package/cupybara/lib/libcupybara.so) + set(CUPYBARA_INSTALLATION_DIR ${CMAKE_CURRENT_SOURCE_DIR}/package/cupybara/lib) message("Installing: ${CUPYBARA_LIB_DIR}") diff --git a/package/cupybara/cupybara.py b/package/cupybara/cupybara.py index 5970fae..106b930 100644 --- a/package/cupybara/cupybara.py +++ b/package/cupybara/cupybara.py @@ -2,7 +2,7 @@ import numpy as np -from cupybara_jbrhm.cupybara_paths import CupybaraPaths +from cupybara.cupybara_paths import CupybaraPaths lib = CDLL(CupybaraPaths.cupybara_libs) @@ -65,4 +65,4 @@ def sync(self): # Overloaded Matrix Multiplication @staticmethod def multiply(A, B, C): - lib.multiply(A.matrix, B.matrix, C.matrix) \ No newline at end of file + lib.multiply(A.matrix, B.matrix, C.matrix) diff --git a/package/pyproject.toml b/package/pyproject.toml index 178fa70..0005d29 100644 --- a/package/pyproject.toml +++ b/package/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "cupybara" -version = "1.0.1" +version = "1.0.2" authors = [ { name="jbrhm", email="no@no.no" }, ]