You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
782 B
27 lines
782 B
#if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
|
|
#pragma once
|
|
|
|
#include <miopen/miopen.h>
|
|
#include <miopen/version.h>
|
|
|
|
#if MIOPEN_VERSION_MAJOR > 3 || (MIOPEN_VERSION_MAJOR == 3 && MIOPEN_VERSION_MINOR >= 4)
|
|
// miopen 3.4 moved find mode from private header to public header
|
|
#else
|
|
// from miopen_internal.h
|
|
extern "C" {
|
|
|
|
typedef enum
|
|
{
|
|
miopenConvolutionFindModeNormal = 1, /*!< Normal mode */
|
|
} miopenConvolutionFindMode_t;
|
|
|
|
miopenStatus_t miopenSetConvolutionFindMode(
|
|
miopenConvolutionDescriptor_t convDesc,
|
|
miopenConvolutionFindMode_t findMode);
|
|
}
|
|
#endif
|
|
|
|
#else
|
|
#error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
|
|
#endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
|