Method: Cumo::CUDA::MemoryPool.enable

Defined in:
ext/cumo/cuda/memory_pool.cpp

.enableBoolean

Enable memory pool.



70
71
72
73
74
75
76
# File 'ext/cumo/cuda/memory_pool.cpp', line 70

static VALUE
rb_memory_pool_enable(VALUE self)
{
    VALUE ret = (memory_pool_enabled ? Qtrue : Qfalse);
    memory_pool_enabled = true;
    return ret;
}