Skip to content

Installation

Download Pre-built Binaries

Download the latest release for your platform from GitHub Releases:

  • Linux: tablr-linux-x64.tar.gz
  • Windows: tablr-windows-x64.zip
  • macOS: tablr-macos-x64.tar.gz

Linux/macOS

tar -xzf tablr-linux-x64.tar.gz
sudo cp -r lib/* /usr/local/lib/
sudo cp -r include/* /usr/local/include/

Windows

Extract the zip file and add the lib and include directories to your project paths.

wget https://github.com/muhammad-fiaz/tablr/releases/download/v0.1.0/tablr-xmake-0.1.0.tar.gz
tar -xzf tablr-xmake-0.1.0.tar.gz
cd tablr-xmake-0.1.0
xmake install

Or add to your xmake.lua:

add_includedirs("/path/to/tablr/include")
add_linkdirs("/path/to/tablr/lib")
add_links("tablr")

Using Conan

conan install tablr/0.1.0@

Using vcpkg

vcpkg install tablr

From Source

Basic Build

git clone https://github.com/muhammad-fiaz/tablr.git
cd tablr
xmake build
xmake install

Build with Accelerator Support

CUDA (NVIDIA GPUs)

xmake f --cuda=y
xmake build
xmake install

Requires: NVIDIA GPU with CUDA Toolkit installed

Intel XPU

xmake f --xpu=y
xmake build
xmake install

Requires: Intel GPU with SYCL/DPC++ support

NPU (Neural Processing Units)

xmake f --npu=y
xmake build
xmake install

Requires: NPU hardware (Qualcomm, MediaTek, etc.)

TPU (Tensor Processing Units)

xmake f --tpu=y
xmake build
xmake install

Requires: TPU hardware (Google TPU, similar accelerators)

Multiple Accelerators

xmake f --cuda=y --xpu=y --npu=y --tpu=y
xmake build
xmake install

CMake Build

mkdir build && cd build
cmake -DTABLR_CUDA_SUPPORT=ON -DTABLR_XPU_SUPPORT=ON ..
make
make install

Verifying Installation

# Run tests
xmake run tests

# Check device support
xmake run example_device_switching