sp1-gpu-sys 6.2.0

FFI bindings and CUDA build system for SP1-GPU
1
2
3
4
5
6
7
8
9
10

#pragma once

#include "runtime/exception.cuh"
#include <cstdint>

extern "C" rustCudaError_t cuda_device_get_default_mem_pool(cudaMemPool_t* memPool, int32_t device);
extern "C" rustCudaError_t cuda_device_get_mem_pool(cudaMemPool_t* memPool, int32_t device);
extern "C" rustCudaError_t
cuda_mem_pool_set_release_threshold(cudaMemPool_t memPool, uint64_t threshold);