Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 468 Bytes

File metadata and controls

28 lines (19 loc) · 468 Bytes

Example: Memory Pool

A example showing the basics of using OCCA's memory pools

  • Creating an OCCA memory
  • Managing memory pool
  • Reserving and using memory from memory pool

Compiling the Example

make

Usage

> ./main --help

Usage: ./main [OPTIONS]

Example using memory pools

Options:
  -d, --device     Device properties (default: "{mode: 'Serial'}")
  -h, --help       Print usage
  -v, --verbose    Compile kernels in verbose mode