Lines Matching full:ceed
18 ceed::C.Ceed, argument
29 (C.Ceed, Cstring, Ptr{Cvoid}),
30 ceed,
40 mutable struct Ceed struct
41 ref::RefValue{C.Ceed} argument
45 Ceed(spec="/cpu/self")
47 Wraps a libCEED `Ceed` object, created with the given resource specification string.
49 function Ceed(spec::AbstractString="/cpu/self") function
50 obj = Ceed(Ref{C.Ceed}())
55 (C.Ceed, Cstring, Cint, Cstring, Cint, Cstring, Ptr{Cvoid})
64 destroy(c::Ceed) = C.CeedDestroy(c.ref) # COV_EXCL_LINE argument
65 Base.getindex(c::Ceed) = c.ref[] argument
67 Base.show(io::IO, ::MIME"text/plain", c::Ceed) = ceed_show(io, c, C.CeedView) argument
70 getresource(c::Ceed)
72 Returns the resource string associated with the given [`Ceed`](@ref) object.
74 function getresource(c::Ceed) argument
81 isdeterministic(c::Ceed)
83 Returns true if backend of the given [`Ceed`](@ref) object is deterministic, and false
86 function isdeterministic(c::Ceed) argument
93 get_preferred_memtype(c::Ceed)
96 [`Ceed`](@ref) object.
98 function get_preferred_memtype(c::Ceed) argument
105 iscuda(c::Ceed)
107 Returns true if the given [`Ceed`](@ref) object has resource `"/gpu/cuda/*"` and false
110 function iscuda(c::Ceed) argument