Skip to content

n4o847/gds-rs-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gds-rs-example

This is a reference repository for getting NVIDIA GPUDirect Storage to work in Rust.

Structure

The folders related in GPUDirect Storage are:

  • cufile-sys
    • an FFI wrapper crate for cuFile API
  • gds-helloworld
    • a version of the GDS sample program written in Rust

The following folder is a port of Rust-CUDA:

  • cpu
    • a host-side crate to perform array addition
  • gpu
    • a device-side crate to perform array addition

Requirements

  • MLNX_OFED
  • CUDA
  • GPUDirect Storage
  • Rust
  • LLVM 7

Installation

git clone https://github.com/n4o847/gds-rs-example.git

Build

cargo build -p gds-helloworld

Run

TESTFILE=./foo.txt ./target/debug/gds-helloworld

Resources

I have written an article explaining this repository.

For others, see also:

About

Get GPUDirect Storage working in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages