cuda_utils.h 184 Bytes
Newer Older
Rayyyyy's avatar
Rayyyyy committed
1
2
3
4
5
6
7
8
9
10
#pragma once

#include <torch/extension.h>

int get_device_attribute(
    int attribute,
    int device_id);

int get_max_shared_memory_per_block_device_attribute(
    int device_id);