| /libCEED/python/ |
| H A D | ceed_vector.py | 12 from .ceed_constants import MEM_HOST, USE_POINTER, COPY_VALUES, NORM_2, scalar_types 73 def set_array(self, array, memtype=MEM_HOST, cmode=COPY_VALUES): 90 if memtype == MEM_HOST: 105 def get_array(self, memtype=MEM_HOST): 128 if memtype == MEM_HOST: 150 def get_array_read(self, memtype=MEM_HOST): 173 if memtype == MEM_HOST: 197 def get_array_write(self, memtype=MEM_HOST): 221 if memtype == MEM_HOST: 266 def array(self, *shape, memtype=MEM_HOST): [all …]
|
| H A D | ceed_qfunctioncontext.py | 12 from .ceed_constants import MEM_HOST, USE_POINTER, COPY_VALUES, scalar_types 63 def set_data(self, data, memtype=MEM_HOST, cmode=COPY_VALUES): 80 if memtype == MEM_HOST: 99 def get_data(self, memtype=MEM_HOST): 123 if memtype == MEM_HOST: 160 def data(self, *shape, memtype=MEM_HOST):
|
| H A D | ceed_elemrestriction.py | 12 from .ceed_constants import REQUEST_IMMEDIATE, REQUEST_ORDERED, MEM_HOST, USE_POINTER, COPY_VALUES,… 177 memtype=MEM_HOST, cmode=COPY_VALUES): 210 orients, memtype=MEM_HOST, cmode=COPY_VALUES): 249 curl_orients, memtype=MEM_HOST, cmode=COPY_VALUES): 315 offsets, memtype=MEM_HOST, cmode=COPY_VALUES): 376 offsets, orients, memtype=MEM_HOST, cmode=COPY_VALUES): 407 offsets, curl_orients, memtype=MEM_HOST, cmode=COPY_VALUES):
|
| H A D | ceed_constants.py | 15 MEM_HOST = lib.CEED_MEM_HOST variable 17 mem_types = {MEM_HOST: "host",
|
| H A D | ceed.py | 100 memtype = ffi.new("CeedMemType *", MEM_HOST)
|
| /libCEED/julia/LibCEED.jl/src/ |
| H A D | CeedVector.jl | 33 setarray!(obj, MEM_HOST, COPY_VALUES, C_NULL) 44 witharray_read(v, MEM_HOST) do arr 48 Base.show(io::IO, v::CeedVector) = witharray_read(a -> show(io, a), v, MEM_HOST) 166 mtype = MEM_HOST 184 @witharray(v_arr=v, [size=(dims...)], [mtype=MEM_HOST], body) 187 with name `v_arr`. If the [`memory type`](@ref MemType) `mtype` is not provided, `MEM_HOST` 211 @witharray_read(v_arr=v, [size=(dims...)], [mtype=MEM_HOST], body) 238 CeedVector(c::Ceed, v2::AbstractVector; mtype=MEM_HOST, cmode=COPY_VALUES) 244 function CeedVector(c::Ceed, v2::AbstractVector; mtype=MEM_HOST, cmode=COPY_VALUES) 261 witharray(f, v::CeedVector, mtype=MEM_HOST) [all …]
|
| H A D | Context.jl | 18 Context(ceed::Ceed, data; mtype=MEM_HOST, cmode=USE_POINTER) 28 function Context(c::Ceed, data; mtype=MEM_HOST, cmode=USE_POINTER)
|
| H A D | Globals.jl | 42 One of `MEM_HOST` or `MEM_DEVICE`. 45 const MEM_HOST = C.CEED_MEM_HOST constant
|
| H A D | ElemRestriction.jl | 43 mtype::MemType=MEM_HOST, 78 mtype::MemType=MEM_HOST, 107 mtype::MemType=MEM_HOST, 145 mtype::MemType=MEM_HOST, 175 mtype::MemType=MEM_HOST, 215 mtype::MemType=MEM_HOST,
|
| H A D | Ceed.jl | 95 Returns the preferred [`MemType`](@ref) (either `MEM_HOST` or `MEM_DEVICE`) of the given
|
| H A D | LibCEED.jl | 43 MEM_HOST,
|
| /libCEED/julia/LibCEED.jl/test/ |
| H A D | runtests.jl | 45 @test get_preferred_memtype(c) == MEM_HOST 60 @test_throws Exception set_data!(ctx, MEM_HOST, OWN_POINTER, data) 78 @test @witharray_read(a = v2, mtype = MEM_HOST, a == v1) 87 @test @witharray(a = v, mtype = MEM_HOST, all(a .== CeedScalar(1.0)./v1)) 101 setarray!(v, MEM_HOST, USE_POINTER, v1) 102 syncarray!(v, MEM_HOST) 104 p = takearray!(v, MEM_HOST)
|
| /libCEED/julia/LibCEED.jl/examples/ |
| H A D | ex2-surface.jl | 155 sa = witharray_read(x -> sum(abs, x), v, MEM_HOST)
|
| H A D | ex1-volume.jl | 142 vol = witharray_read(sum, v, MEM_HOST)
|
| H A D | ex3-volume.jl | 181 vol = witharray_read(sum, v, MEM_HOST)
|
| /libCEED/julia/LibCEED.jl/docs/src/ |
| H A D | index.md | 87 vol = witharray_read(sum, v, MEM_HOST)
|