dcompute ~master (2022-03-04T06:15:12.0261143)
Dub
Repo
Buffer
dcompute
driver
cuda
buffer
Undocumented in source.
struct
Buffer (
T
) {
size_t
raw
;
T
[]
hostMemory
;
this
(size_t elems);
this
(T[] arr);
void
copy
();
alias
hostArgOf
(
U
:
GlobalPointer
!
T
)
=
raw
;
void
release
();
}
Constructors
this
this
(size_t elems)
Undocumented in source.
this
this
(T[] arr)
Undocumented in source.
Members
Aliases
hostArgOf
alias
hostArgOf
(
U
:
GlobalPointer
!
T
)
=
raw
Undocumented in source.
Functions
copy
void
copy
()
Undocumented in source. Be warned that the author may not have intended to support it.
release
void
release
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
hostMemory
T
[]
hostMemory
;
Undocumented in source.
raw
size_t
raw
;
Undocumented in source.
Meta
Source
See Implementation
dcompute
driver
cuda
buffer
aliases
bf
structs
Buffer