File size: 237 Bytes
9dd3461
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once
#include <c10/macros/Export.h>
#include <cstdint>

namespace at {
namespace cuda {

// enqueues a kernel that spins for the specified number of cycles
TORCH_CUDA_CU_API void sleep(int64_t cycles);

}}  // namespace at::cuda