Displaying 3 results from an estimated 3 matches for "multikernelloaderspec".
2016 Mar 09
2
RFC: Proposing an LLVM subproject for parallelism runtime and support libraries
...Get a StreamExecutor for the chosen Platform. Multiple devices are
// supported, we indicate here that we want to run on device 0.
const int device_ordinal = 0;
se::StreamExecutor *executor =
platform->ExecutorForDevice(device_ordinal).ValueOrDie();
// Create a MultiKernelLoaderSpec, which knows where to find the code
for our
// kernel. In this case, the code is stored in memory as a PTX string.
//
// Note that the "arity" and name specified here must match "arity"
and name
// of the kernel defined in the PTX string.
se::Multi...
2016 Mar 09
2
RFC: Proposing an LLVM subproject for parallelism runtime and support libraries
...chosen Platform. Multiple devices are
> // supported, we indicate here that we want to run on device 0.
> const int device_ordinal = 0;
> se::StreamExecutor *executor =
> platform->ExecutorForDevice(device_ordinal).ValueOrDie();
>
> // Create a MultiKernelLoaderSpec, which knows where to find the
> code for our
> // kernel. In this case, the code is stored in memory as a PTX
> string.
> //
> // Note that the "arity" and name specified here must match "arity"
> and name
> // of the kernel defined...
2016 Mar 10
2
RFC: Proposing an LLVM subproject for parallelism runtime and support libraries
...>> are
>> // supported, we indicate here that we want to run on device 0.
>> const int device_ordinal = 0;
>> se::StreamExecutor *executor =
>> platform->ExecutorForDevice(device_ordinal).ValueOrDie();
>>
>> // Create a MultiKernelLoaderSpec, which knows where to find the
>> code for our
>> // kernel. In this case, the code is stored in memory as a PTX
>> string.
>> //
>> // Note that the "arity" and name specified here must match
>> "arity" and name
>>...