ops_hip.cpp 587 Bytes
Newer Older
chenxi226's avatar
chenxi226 committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// !!! This is a file automatically generated by hipify!!!
#include <ATen/dtk_macros.h>
// Modifications licensed under:
// SPDX-FileCopyrightText: 2020 Division of Medical Image Computing, German Cancer Research Center (DKFZ), Heidelberg, Germany
// SPDX-License-Identifier: Apache-2.0
//
// Parts of this code are from torchvision licensed under
// SPDX-FileCopyrightText: 2016 Soumith Chintala
// SPDX-License-Identifier: BSD-3-Clause


#include <torch/extension.h>
#include "cpu/nms_hip.cpp"

PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) {
  m.def("nms", &nms, "NMS C++ and/or CUDA");
}