[runtime] put jit::launch_info in another file

This commit is contained in:
Philippe Tillet
2019-07-15 12:35:53 -07:00
parent 3c128fc2e2
commit 434f65737f
15 changed files with 227 additions and 61 deletions

View File

@@ -14,13 +14,13 @@ int main() {
// initialize default compute device
auto context = triton::driver::backend::contexts::get_default();
auto op = triton::dnn::shift::FPROP;
auto op = triton::dnn::shift::WGRAD;
// initialization
int32_t R = 3, S = 3;
int32_t B = 16, F = 512;
int32_t H = 16, W = 16;
int32_t C = 512;
int32_t B = 32, F = 128;
int32_t H = 28, W = 28;
int32_t C = 128;
// random shifts
std::vector<int32_t> shift_h(C);