Skip to content

Processing-in-memory stack-based CUDA Nock interpreter with PyPIM

Notifications You must be signed in to change notification settings

Native-Planet/nocktensors

Repository files navigation

image

nocktensors

emulated processing-in-memory stack-based Nock interpreter using tensor operations

see this paper for an explanation of the pypim framework; tldr we use it to emulate a memristor isa with cuda to work with nouns represented as tensors and create a stack-based interpreter for nock, a minimal turing-complete functional combinator, with bitwise operations in VRAM. this is just for fun!

Requirements:
  • nvcc
  • gcc10

(both of these are for the PyPIM dependency)

Installation
  • git clone https://github.com/Native-Planet/nocktensors
  • cd nocktensors && git submodule update --remote PyPIM
  • pip3 install -e . --user
  • python3 -m unittest discover tests
  • python3 examples/demo.py

About

Processing-in-memory stack-based CUDA Nock interpreter with PyPIM

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages