-
Notifications
You must be signed in to change notification settings - Fork 29
Cpp Development
Miles Cranmer edited this page Jun 20, 2016
·
6 revisions
#include <cuda_runtime_api.h>
#include <bifrost/common.h>
#include <bifrost/ring.h>
...
//declare our ring variable
BFring my_ring;
//initiate this ring on local memory (=BF_SPACE_SYSTEM)
bfRingCreate(my_ring, BF_SPACE_SYSTEM);
//begin writing to this ring
bfRingBeginWriting(*my_ring);
- Home
- Introductions and examples
- Getting started guide
- Common installation and execution problems
- Some helpful tips and warnings
- Reference guides
- Python API
- Ring() API
- C++ Development