search for: typedkernel

Displaying 3 results from an estimated 3 matches for "typedkernel".

2016 Mar 09
2
RFC: Proposing an LLVM subproject for parallelism runtime and support libraries
...s of any types are supported, and the number and types of the arguments is checked at compile time. How does it work? ======================= -------------------------------- Detailed example -------------------------------- The following example shows how we can use StreamExecutor to create a `TypedKernel` instance, associate device code with that instance, and then use that instance to schedule work on an accelerator device. .. code-block:: c++ #include <cassert> #include "stream_executor.h" namespace se = streamexecutor; // A PTX string defining a CUDA kernel....
2016 Mar 09
2
RFC: Proposing an LLVM subproject for parallelism runtime and support libraries
...pes of the arguments is checked at compile time. > > How does it work? > ======================= > > > -------------------------------- > Detailed example > -------------------------------- > > The following example shows how we can use StreamExecutor to create a > `TypedKernel` instance, associate device code with that instance, and then > use that instance to schedule work on an accelerator device. > > .. code-block:: c++ > > #include <cassert> > > #include "stream_executor.h" > > namespace se = streamexecutor; >...
2016 Mar 10
2
RFC: Proposing an LLVM subproject for parallelism runtime and support libraries
...ime. >> >> How does it work? >> ======================= >> >> >> -------------------------------- >> Detailed example >> -------------------------------- >> >> The following example shows how we can use StreamExecutor to create a >> `TypedKernel` instance, associate device code with that instance, and then >> use that instance to schedule work on an accelerator device. >> >> .. code-block:: c++ >> >> #include <cassert> >> >> #include "stream_executor.h" >> >>...