enum CodeGenerator::CUDA::DeviceSelect

Overview

Methods for selecting CUDA device. More…

#include <backend.h>

enum DeviceSelect
{
    OPTIMAL,
    MOST_MEMORY,
    MANUAL,
};

Detailed Documentation

Methods for selecting CUDA device.

Enum Values

OPTIMAL

Pick optimal device based on how well kernels can be simultaneously simulated and occupancy.

MOST_MEMORY

Pick device with most global memory.

MANUAL

Use device specified by user.