cuda_utils.h 184 Bytes
Newer Older
1
2
#pragma once

3
4
5
6
7
#include <torch/extension.h>

int get_device_attribute(
    int attribute,
    int device_id);
8
9
10

int get_max_shared_memory_per_block_device_attribute(
    int device_id);