From 1725c145dffd949dcaa1b16e5cbde6506b246ca1 Mon Sep 17 00:00:00 2001 From: EgorOrachev Date: Fri, 11 Jun 2021 12:06:34 +0300 Subject: [PATCH] [Project] Release 1.2.0 --- .github/workflows/ubuntu.yml | 11 +++++++++++ CHANGELOG.md | 14 +++++++++++++- README.md | 4 ++-- cubool/sources/cuda/kernels/spgemv.cuh | 3 +-- python/setup.py | 2 +- 5 files changed, 28 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 636b477..cd33dd3 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -23,6 +23,7 @@ jobs: env: build_dir: "build" config: "Release" + artifact: "cubool-ubuntu-build.tar.xz" steps: - uses: actions/checkout@v2 @@ -69,3 +70,13 @@ jobs: working-directory: ${{ env.build_dir }}/python run: bash run_tests.sh shell: bash + + - name: Prepare upload binary + shell: bash + run: tar cfz ${{ env.artifact }} ${{ env.build_dir }} + + - name: Upload binary + uses: actions/upload-artifact@v2 + with: + name: ${{ env.artifact }} + path: ${{ env.artifact }} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c92692..174666a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,19 @@ All notable changes to this project are documented in this file. Changes format: version name and date, minor notes, new features, fixes, what removed. -Release are available at [link](https://github.com/JetBrains-Research/cuBool/releases). +Releases are available at [link](https://github.com/JetBrains-Research/cuBool/releases). + +## v1.2.0 - June 11, 2021 + +### Summary + +Python-package update: support backend type and memory type selection within +package by environment variables. Update docs, add performance comparison section. + +#### New features + +- Backend type config in pycubool +- GPU memory type config in pycubool ## v1.1.0 - May 8, 2021 diff --git a/README.md b/README.md index ff5162f..32b5b0c 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![JB Research](https://jb.gg/badges/research-flat-square.svg)](https://research.jetbrains.org/) [![Ubuntu](https://github.com/JetBrains-Research/cuBool/workflows/Ubuntu/badge.svg?branch=master)](https://github.com/JetBrains-Research/cuBool/actions) [![License](https://img.shields.io/badge/license-MIT-orange)](https://github.com/JetBrains-Research/cuBool/blob/master/LICENSE) -[![Package](https://img.shields.io/badge/pypi%20package-1.1.0-%233776ab)](https://pypi.org/project/pycubool/) +[![Package](https://img.shields.io/badge/pypi%20package-1.2.0-%233776ab)](https://pypi.org/project/pycubool/) **cuBool** is a linear Boolean algebra library primitives and operations for work with sparse matrices written on the NVIDIA CUDA platform. The primary @@ -50,7 +50,7 @@ prototyping algorithms on a local computer for later running on a powerful serve ### Platforms -- Linux based OS (tested on Ubuntu 20.04) +- Linux-based OS (tested on Ubuntu 20.04) - Windows (coming soon) - macOS (coming soon) diff --git a/cubool/sources/cuda/kernels/spgemv.cuh b/cubool/sources/cuda/kernels/spgemv.cuh index c5975d6..7340174 100644 --- a/cubool/sources/cuda/kernels/spgemv.cuh +++ b/cubool/sources/cuda/kernels/spgemv.cuh @@ -147,9 +147,8 @@ namespace cubool { static constexpr size_t max = std::numeric_limits::max(); auto M = m.m_rows; - auto N = m.m_cols; - assert(N == v.m_rows); + assert(m.m_cols == v.m_rows); // Empty result case if (v.m_vals == 0 || m.m_vals == 0) diff --git a/python/setup.py b/python/setup.py index 1bde79d..8464c98 100644 --- a/python/setup.py +++ b/python/setup.py @@ -20,7 +20,7 @@ setuptools.setup( name="pycubool", - version="1.1.0", + version="1.2.0", author="Egor Orachyov", author_email="egororachyov@gmail.com", license="MIT",