MCPcopy Create free account
hub / github.com/NGSolve/ngsolve / DevArray

Method DevArray

ngscuda/cuda_ngstd.hpp:156–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154
155 public:
156 DevArray (int asize)
157 {
158 size = asize;
159 cudaMalloc((T**)&dev_data, size*sizeof(T));
160 }
161
162 DevArray (FlatArray<T> a2)
163 {

Callers

nothing calls this directly

Calls 1

SizeMethod · 0.45

Tested by

no test coverage detected