> sw_vers
ProductName: Mac OS X
ProductVersion: 10.13.6
BuildVersion: 17G5019
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tvm | |
import os | |
def prepare_test_libs(base_path): | |
n = tvm.var("n") | |
A = tvm.placeholder((n,), name='A') | |
B = tvm.compute(A.shape, lambda *i: A(*i) + 1.0, name='B') | |
s = tvm.create_schedule(B.op) | |
s[B].bind(B.op.axis[0], tvm.thread_axis("blockIdx.x")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* Copyright (c) 2017 by Contributors | |
* \brief Example code on load and run TVM module.s | |
* \file cpp_deploy_example.cc | |
*/ | |
#include <cstdio> | |
#include <dlpack/dlpack.h> | |
#include <tvm/runtime/module.h> | |
#include <tvm/runtime/registry.h> | |
#include <tvm/runtime/packed_func.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* Copyright (c) 2017 by Contributors | |
* \brief Example code on load and run TVM module.s | |
* \file cpp_deploy_example.cc | |
*/ | |
#include <cstdio> | |
#include <dlpack/dlpack.h> | |
#include <tvm/runtime/module.h> | |
#include <tvm/runtime/registry.h> | |
#include <tvm/runtime/packed_func.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tvm | |
import os | |
def prepare_test_libs(base_path): | |
n = tvm.var("n") | |
A = tvm.placeholder((n,), name='A') | |
B = tvm.compute(A.shape, lambda *i: A(*i) + 1.0, name='B') | |
s = tvm.create_schedule(B.op) | |
s[B].bind(B.op.axis[0], tvm.thread_axis("blockIdx.x")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
set -x | |
TOOLCHAIN=android-ndk-r14-api-16-armeabi-v7a-neon-clang-hid-sections-lto | |
CONFIG=MinSizeRel | |
CLEAR=--clear | |
build.py --toolchain ${TOOLCHAIN} \ | |
--verbose \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import argparse | |
import os | |
import shutil | |
import subprocess | |
import sys | |
import time | |
from multiprocessing import Pool, Lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDbcKR59nfeQ/qXiqPIhoJM/S93JJ8yg7o/+itlhCnTbP8Z2NxWGiQ2Cov821SCS1XV925nyz/fowCr0S3ZaQdMtICuL83Io1oHI5EviKlkbbwzZ14D8AVlACnxdd2AiiXyRSlNWaOV2h76x+YJ9rup7k91apazLksTj3nTpJcPunRYoA+GpNiLcWGnJrptPkdReQMGzVwKvqsuZ3ILvatLZhvYsrLDuHD+R4BSEx+yk7RxD/ONqR1QYduiPARWqPlID/FbFqVSLkjSJhBNRx26NJNQzKsGlyLnHT5GjpJnsIF3dW2jtlNKdTAhFpP3sbqyHtYFIBjca4iV10caxplZnoBeJcGSCgwLVRpOL65bXTj2ZB4uGcpIXx0BnwOyKJthJLb+M/2LBE5RVIVUhTSmZGRw1vJBszS+El4ktAPgGm1fz6ObCYo7te7LyiMaAgueO+tBsYC9xNO01CSIzLA/yhtHDSu5Cilgm7/1tb2UsBtecfIwo3/iRLlW4SVai+NPiIONIgQkG++CZzNzU/vTRbte3rosU2/gKbgPn38XY+y1M0CLTRhzvpVRvyItCperA0OeoEt3Yq5n4J4yKwP6l/rVA2PYGN0bEF8vLif1dVdSqCoX1yDtCc+vv12W8mCfuAx22aEqorPEdTL+dsG27pp4mwsNylktiQb/3cFqnw== ruslo@ubuntu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDbcKR59nfeQ/qXiqPIhoJM/S93JJ8yg7o/+itlhCnTbP8Z2NxWGiQ2Cov821SCS1XV925nyz/fowCr0S3ZaQdMtICuL83Io1oHI5EviKlkbbwzZ14D8AVlACnxdd2AiiXyRSlNWaOV2h76x+YJ9rup7k91apazLksTj3nTpJcPunRYoA+GpNiLcWGnJrptPkdReQMGzVwKvqsuZ3ILvatLZhvYsrLDuHD+R4BSEx+yk7RxD/ONqR1QYduiPARWqPlID/FbFqVSLkjSJhBNRx26NJNQzKsGlyLnHT5GjpJnsIF3dW2jtlNKdTAhFpP3sbqyHtYFIBjca4iV10caxplZnoBeJcGSCgwLVRpOL65bXTj2ZB4uGcpIXx0BnwOyKJthJLb+M/2LBE5RVIVUhTSmZGRw1vJBszS+El4ktAPgGm1fz6ObCYo7te7LyiMaAgueO+tBsYC9xNO01CSIzLA/yhtHDSu5Cilgm7/1tb2UsBtecfIwo3/iRLlW4SVai+NPiIONIgQkG++CZzNzU/vTRbte3rosU2/gKbgPn38XY+y1M0CLTRhzvpVRvyItCperA0OeoEt3Yq5n4J4yKwP6l/rVA2PYGN0bEF8vLif1dVdSqCoX1yDtCc+vv12W8mCfuAx22aEqorPEdTL+dsG27pp4mwsNylktiQb/3cFqnw== ruslo@ubuntu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SYSCALL(args) = return | |
__disable_threadsignal(0x1, 0x0, 0x0) = 0 0 | |
__disable_threadsignal(0x1, 0x7000064E5B80, 0x0) = 0 0 | |
bsdthread_ctl(0x100, 0x800008FF, 0xFFFFFFFF) = 0 0 | |
kevent_qos(0xFFFFFFFF, 0x7F837CE0A050, 0x1) = 0 0 | |
workq_kernreturn(0x40, 0x700006568B80, 0x0) = 0 Err#-2 | |
bsdthread_ctl(0x100, 0x10FF, 0xFFFFFFFF) = 0 0 | |
workq_kernreturn(0x20, 0x0, 0x1) = 0 0 | |
thread_selfid(0x0, 0x0, 0x0) = 262549 0 | |
workq_kernreturn(0x20, 0x0, 0x1) = 0 0 |