cuda_utils.h 95 Bytes
Newer Older
1
2
3
4
5
#include <torch/extension.h>

int get_device_attribute(
    int attribute,
    int device_id);