Displaying 3 results from an estimated 3 matches for "valueordie".
2016 Mar 09
2
RFC: Proposing an LLVM subproject for parallelism runtime and support libraries
...EL_PTX.
static constexpr float MYSTERY_VALUE = 123.0f;
int main(int argc, char *argv[]) {
// Get a CUDA Platform object. (Other platforms such as OpenCL are
also
// supported.)
se::Platform *platform =
se::MultiPlatformManager::PlatformWithName("cuda").ValueOrDie();
// 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();...
2016 Mar 09
2
RFC: Proposing an LLVM subproject for parallelism runtime and support libraries
...MYSTERY_VALUE = 123.0f;
>
> int main(int argc, char *argv[]) {
> // Get a CUDA Platform object. (Other platforms such as OpenCL are
> also
> // supported.)
> se::Platform *platform =
> se::MultiPlatformManager::PlatformWithName("cuda").ValueOrDie();
>
> // 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...
2016 Mar 10
2
RFC: Proposing an LLVM subproject for parallelism runtime and support libraries
...;>
>> int main(int argc, char *argv[]) {
>> // Get a CUDA Platform object. (Other platforms such as OpenCL are
>> also
>> // supported.)
>> se::Platform *platform =
>> se::MultiPlatformManager::PlatformWithName("cuda").ValueOrDie();
>>
>> // 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 =
>> plat...