mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-25 19:48:11 +00:00
Test a build break fix (#5706)
This commit is contained in:
parent
6d8e81cb08
commit
941e3a69f9
1 changed files with 3 additions and 1 deletions
|
|
@ -4,6 +4,8 @@
|
|||
#pragma once
|
||||
#include "cuda_pch.h"
|
||||
#include "core/common/status.h"
|
||||
#include "core/framework/arena.h"
|
||||
#include "core/framework/bfc_arena.h"
|
||||
#include "core/framework/data_transfer_manager.h"
|
||||
#include "core/framework/op_kernel.h"
|
||||
#include "core/graph/graph_viewer.h"
|
||||
|
|
@ -221,7 +223,7 @@ inline bool CalculateFdmStrides(gsl::span<fast_divmod> p, const std::vector<int6
|
|||
|
||||
class CublasMathModeSetter {
|
||||
public:
|
||||
CublasMathModeSetter(const cudaDeviceProp& prop,cublasHandle_t handle, cublasMath_t mode) : prop_(prop), handle_(handle) {
|
||||
CublasMathModeSetter(const cudaDeviceProp& prop, cublasHandle_t handle, cublasMath_t mode) : prop_(prop), handle_(handle) {
|
||||
cublasGetMathMode(handle, &mode_);
|
||||
#if defined(CUDA_VERSION) && CUDA_VERSION < 11000
|
||||
if (prop.major >= 7 && mode == CUBLAS_TENSOR_OP_MATH) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue