cu-core 0.1.0

Low level bindings to cuda apis
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use ffi;

use bitflags::*;

bitflags! {
    pub struct ContextCreateFlags: u32 {
        const SCHED_AUTO = 0;
        const SCHED_SPIN = 1;
        const SCHED_YIELD = 2;
        const SCHED_BLOCK = 4;
        const SCHED_SYNC = 4;
        const MAP_HOST = 8;
        const LMEM_RESIZE_TO_MAX = 16;
    }
}