CoreNEURON
memory.cpp File Reference
#include "coreneuron/apps/corenrn_parameters.hpp"
#include "coreneuron/utils/memory.h"
#include <cassert>

Go to the source code of this file.

Namespaces

 coreneuron
 THIS FILE IS AUTO GENERATED DONT MODIFY IT.
 

Functions

bool coreneuron::gpu_enabled ()
 Check if GPU support is enabled. More...
 
void * coreneuron::allocate_unified (std::size_t num_bytes)
 Allocate unified memory in GPU builds iff GPU enabled, otherwise new. More...
 
void coreneuron::deallocate_unified (void *ptr, std::size_t num_bytes)
 Deallocate memory allocated by allocate_unified. More...