pip install https://github.com/openxla/openxla-pjrt-plugin/releases/download/nightly/openxla_pjrt_plugin_cpu-0.1.dev1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -f https://openxla.github.io/iree/pip-release-links.html
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
" Read .mlirbc | |
:augroup mlir | |
: autocmd! | |
: autocmd BufReadPre,FileReadPre *.mlirbc set bin | |
: autocmd BufReadPost,FileReadPost *.mlirbc silent '[,']!mlir-opt | |
: autocmd BufReadPost,FileReadPost *.mlirbc set ft=mlir | |
: autocmd BufReadPost,FileReadPost *.mlirbc set nobin | |
: autocmd BufWritePost,FileWritePost *.mlirbc !mv <afile> <afile>.tmp.mlir | |
: autocmd BufWritePost,FileWritePost *.mlirbc !mlir-opt --emit-bytecode <afile>.tmp.mlir -o <afile> | |
:augroup END |
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
(defcustom mlir-opt "mlir-opt" | |
"Commandline MLIR opt tool to use." | |
:type 'string) | |
(require 'jka-compr) | |
(add-to-list 'jka-compr-compression-info-list | |
(vector "\\.mlirbc\\'" | |
"mlir-to-bytecode" mlir-opt (vector "--emit-bytecode" "-o" "-" "-") | |
"mlir-bytecode-to-text" mlir-opt () | |
nil nil "ML\357R")) |
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
module.exports = grammar({ | |
name: 'mlir', | |
extras: $ => [ | |
/\s/, | |
$.comment, | |
], | |
conflicts: $ => [ | |
], | |
rules: { | |
// Top level production: |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
FROM ubuntu:18.04 | |
ENV DEBIAN_FRONTEND=noninteractive | |
RUN apt-get update && apt-get install -y --no-install-recommends gnupg ca-certificates | |
RUN sh -c 'echo deb https://apt.buildkite.com/buildkite-agent stable main > /etc/apt/sources.list.d/buildkite-agent.list' | |
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 32A37959C2FA5C3C99EFBC32A79206696452D198 |
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
<link rel="import" href="../topeka-elements/category-images.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icons/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> | |
<link rel="import" href="../topeka-elements/category-icons.html"> | |
<polymer-element name="my-element"> | |
<template> |