mirror of https://github.com/Jittor/Jittor
add peek_logged
This commit is contained in:
parent
9f3c97a605
commit
3b4430906d
|
@ -15,7 +15,6 @@
|
|||
#include <cuda_runtime.h>
|
||||
#include "helper_cuda.h"
|
||||
|
||||
|
||||
#ifdef _CUFFT_H_
|
||||
// cuFFT API errors
|
||||
const char *_cudaGetErrorEnum(cufftResult error) {
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
#pragma once
|
||||
#include "common.h"
|
||||
#include "mem/allocator.h"
|
||||
#ifdef HAS_CUDA
|
||||
#include <cuda_runtime.h>
|
||||
#include "helper_cuda.h"
|
||||
#endif
|
||||
|
||||
namespace jittor {
|
||||
|
||||
|
|
Loading…
Reference in New Issue