File size: 299 Bytes
9c6594c
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include <ATen/core/ivalue.h>
#include <c10/macros/Macros.h>
#include <functional>

namespace at {

// Launches intra-op parallel task, returns a future
TORCH_API c10::intrusive_ptr<c10::ivalue::Future> intraop_launch_future(
    const std::function<void()>& func);

} // namespace at