grain ~master (2021-05-15T05:53:16Z)
Dub
Repo
Kernel
grain
cuda
cuda function object called by mangled name of C++/D device function F
version(grain_cuda)
struct
Kernel (
alias
F
)
if
(
is
(
ReturnType
!
F
==
void
)
) {
enum
name
;
CUfunction
cuFunction
;
this
(CUmodule m);
auto
call
(T args);
}
Constructors
this
this
(CUmodule m)
Members
Functions
call
auto
call
(T args)
Undocumented in source. Be warned that the author may not have intended to support it.
Manifest constants
name
enum
name
;
Undocumented in source.
Variables
cuFunction
CUfunction
cuFunction
;
Undocumented in source.
Meta
Source
See Implementation
grain
cuda
aliases
CudaElementType
classes
Global
functions
axpy
checkCUDNN
checkCublasErrors
checkCudaErrors
copy
dup
empty
fill_
global
sum
sumNaive
sum_thrust
toHost
zero_
zeros
static variables
context
cublasHandle
cudnnHandle
structs
CuArray
CuModule
CuPtr
Kernel
Launcher
variables
isDeviceMemory
cuda function object called by mangled name of C++/D device function F