Skip to main content

CUDA Tile Compiler

Project description

cuTile Python

cuTile Python is a programming language for NVIDIA GPUs. The official documentation can be found on docs.nvidia.com, or built from source located in the docs folder.

Installing from PyPI

cuTile Python is published on PyPI under the cuda-tile package name and can be installed with pip:

pip install cuda-tile

Currently, the CUDA Toolkit 13.1+ is required and needs to be installed separately.

Building from Source

cuTile is written mostly in Python, but includes a C++ extension which needs to be built. You will need:

  • A C++17-capable compiler, such as GNU C++ or MSVC;
  • CMake 3.18+;
  • GNU Make on Linux or msbuild on Windows;
  • Python 3.10+ with development headers (venv module is recommended but optional);
  • CUDA Toolkit 13.1+

On an Ubuntu system, the first four dependencies can be installed with APT:

sudo apt-get update && sudo apt-get install build-essential cmake python3-dev python3-venv

The CMakeLists.txt script will also automatically download the DLPack dependency from GitHub. If you wish to disable this behavior and provide your own copy of DLPack, set the CUDA_TILE_CMAKE_DLPACK_PATH environment variable to a local path to the DLPack source tree.

Unless you are already using a Python virtual environment, it is recommended to create one in order to avoid installing cuTile globally:

python3 -m venv env
source env/bin/activate

Once the build dependencies are in place, the simplest way to build cuTile is to install it in editable mode by running the following command in the source root directory:

pip install -e .

This will create the build directory and invoke the CMake-based build process. In editable mode, the compiled extension module will be placed in the build directory, and then a symbolic link to it will be created in the source directory. This makes sure that the pip install -e . command above is needed only once, and recompiling the extension after making changes to the C++ code can be done with make -C build which is much faster. This logic is defined in setup.py.

Running Tests

cuTile uses the pytest framework for testing. Tests have extra dependencies, such as PyTorch, which can be installed with

pip install -r test/requirements.txt

The tests are located in the test/ directory. To run a specific test file, for example test_copy.py, use the following command:

pytest test/test_copy.py

Copyright and License Information

Copyright © 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.

cuTile-Python is under Apache 2.0 license. See the LICENSES folder for the full license text.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

cuda_tile-1.0.0-cp313-cp313-win_amd64.whl (162.8 kB view details)

Uploaded CPython 3.13Windows x86-64

cuda_tile-1.0.0-cp313-cp313-manylinux2014_x86_64.whl (169.0 kB view details)

Uploaded CPython 3.13

cuda_tile-1.0.0-cp313-cp313-manylinux2014_aarch64.whl (168.1 kB view details)

Uploaded CPython 3.13

cuda_tile-1.0.0-cp312-cp312-win_amd64.whl (162.8 kB view details)

Uploaded CPython 3.12Windows x86-64

cuda_tile-1.0.0-cp312-cp312-manylinux2014_x86_64.whl (169.0 kB view details)

Uploaded CPython 3.12

cuda_tile-1.0.0-cp312-cp312-manylinux2014_aarch64.whl (168.1 kB view details)

Uploaded CPython 3.12

cuda_tile-1.0.0-cp311-cp311-win_amd64.whl (162.6 kB view details)

Uploaded CPython 3.11Windows x86-64

cuda_tile-1.0.0-cp311-cp311-manylinux2014_x86_64.whl (168.6 kB view details)

Uploaded CPython 3.11

cuda_tile-1.0.0-cp311-cp311-manylinux2014_aarch64.whl (167.8 kB view details)

Uploaded CPython 3.11

cuda_tile-1.0.0-cp310-cp310-win_amd64.whl (162.7 kB view details)

Uploaded CPython 3.10Windows x86-64

cuda_tile-1.0.0-cp310-cp310-manylinux2014_x86_64.whl (168.7 kB view details)

Uploaded CPython 3.10

cuda_tile-1.0.0-cp310-cp310-manylinux2014_aarch64.whl (168.0 kB view details)

Uploaded CPython 3.10

File details

Details for the file cuda_tile-1.0.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: cuda_tile-1.0.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 162.8 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for cuda_tile-1.0.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ae190de78bfae2401f7e6eda68c439eb367112ebdb52e2bf6898d4657e411f31
MD5 b6bf7f52d04095052078d7128f2bbfc6
BLAKE2b-256 4399baecb418de646c874b473c79f0df2beb81439ce71809c212c2915be7a86a

See more details on using hashes here.

File details

Details for the file cuda_tile-1.0.0-cp313-cp313-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cuda_tile-1.0.0-cp313-cp313-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d42f5e989a3f393fbd4f05bcd87bb76efaa6ed8ca36877c1d9a4b49d1d1f3756
MD5 bb2b9afe821aaa24b6e2602cec0af646
BLAKE2b-256 8f5cc7ab9eca83fb16da3d392d3ffc2a4ba2f2fffd39882e72de464f6fbffe53

See more details on using hashes here.

File details

Details for the file cuda_tile-1.0.0-cp313-cp313-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for cuda_tile-1.0.0-cp313-cp313-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f14eb291ea573ff9959666348f1a2e80b7bae266619ad340d4ff95d6066af0a4
MD5 f316912364ca2754d1eb9bb4b96b6876
BLAKE2b-256 679c3cd9db77129ceee6dbeb2bd7278751f673048cce9f14be6408a5e7ffa0dd

See more details on using hashes here.

File details

Details for the file cuda_tile-1.0.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: cuda_tile-1.0.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 162.8 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for cuda_tile-1.0.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 8003cdf688463c8076b38fefa9c28045ab328180691cf909de4eaf1d45e71c44
MD5 360be29158069fc0be6151ce3822bbf4
BLAKE2b-256 d932340dbb6a3cba0307c654159e1a541ad1b2213b573c0d65e0d1a069a0ade3

See more details on using hashes here.

File details

Details for the file cuda_tile-1.0.0-cp312-cp312-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cuda_tile-1.0.0-cp312-cp312-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 72474601fdfe32d2f05257b22d4c00d0502fc13f96593304d54e883af2463e2b
MD5 d38d5a3effd2cabba104b486339fae74
BLAKE2b-256 8dc4f7d3d4e8285b51fdacbfcd815ac296bfadf9eb7896a5dcb95e2b2f28ace4

See more details on using hashes here.

File details

Details for the file cuda_tile-1.0.0-cp312-cp312-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for cuda_tile-1.0.0-cp312-cp312-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 200972cab54583d19be6514330f39e34109a0af0733a4e9dd88ef96a24231411
MD5 974a82371d2cb6b7d8837f3380bfa123
BLAKE2b-256 b97561302c2a6d5e8fe872504268db26feebf7a586177493df3c00570cf70556

See more details on using hashes here.

File details

Details for the file cuda_tile-1.0.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: cuda_tile-1.0.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 162.6 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for cuda_tile-1.0.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2e58e3ae013bee6ce6a75b842ff2e244f4c156337adc582c510a7990e2f90bea
MD5 829c7b132dfd6ef34c88382daab1c9e5
BLAKE2b-256 cb11a2d3c62af2bde881b0a0fd44af101127bfadd349ba3c2ca394f3d3f4ce19

See more details on using hashes here.

File details

Details for the file cuda_tile-1.0.0-cp311-cp311-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cuda_tile-1.0.0-cp311-cp311-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3cf9763f45c467bb41d0933fb4b2b5181aede4ea8db1f098d6ade5d8c368a713
MD5 c77da8f969490a98a061a8590e2c0603
BLAKE2b-256 765f65efbd93fe958b2a21c6385260926c843ce50d9f6ed7138aecc623be79a9

See more details on using hashes here.

File details

Details for the file cuda_tile-1.0.0-cp311-cp311-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for cuda_tile-1.0.0-cp311-cp311-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5303302a0415a67c9479ac18b3c112e707ca3ff6f4c4e3bddc08266852065bd9
MD5 eb38da71563f291916e6ac3840ea68a2
BLAKE2b-256 0d8bdc69886822a1c1a1e9a91dce4ebd6f6e63e33a2c3bb4b8952e2cacd798dd

See more details on using hashes here.

File details

Details for the file cuda_tile-1.0.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: cuda_tile-1.0.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 162.7 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for cuda_tile-1.0.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6164fdf072d3c5cf2fa9bc61b7e9c38234facb7a0eda2b92094131afa6cb664f
MD5 a15f78e3814c74c171f72d4c22bf2867
BLAKE2b-256 987e2f940477a377a966269166adf221069fa3f9084c3282eb76e8e025033e7c

See more details on using hashes here.

File details

Details for the file cuda_tile-1.0.0-cp310-cp310-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cuda_tile-1.0.0-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1a24cc9762553a6997e4cc13388e430e963b3a01647aab7da8ca8bb8827b7e0b
MD5 7db6e8d11546179056027df820d2027d
BLAKE2b-256 300e5ea24533479bced2552f790ad333ed785eddfd5c49292901566a8f695c5f

See more details on using hashes here.

File details

Details for the file cuda_tile-1.0.0-cp310-cp310-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for cuda_tile-1.0.0-cp310-cp310-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2ddad07570074c38a4b41c257a47a5f0679561234964f074498b649d66b2372f
MD5 0bcee9644a28dd29fc710d1adc92ab72
BLAKE2b-256 71b5f2b8b03752776d40ede43e538e6ed28bea864749fb74b0373a2bcb93488e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page