Marius Brehler

Results 39 comments of Marius Brehler

:+1: I would appreciate an updated release at pypi as well to fetch the source from pypi for a gentoo ebuild.

Seems related to what is described in https://llvm.org/docs/HowToCrossCompileLLVM.html: > The TableGen options are required to compile it with the host compiler, so you’ll need to compile LLVM (or at least...

> Build torch-mlir with: > > ``` > ubuntu:~/github/torch-mlir$ cmake -GNinja -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=arm-linux-gnueabihf-gcc -DCMAKE_CXX_COMPILER=arm-linux-gnueabihf-g++ -DPython3_FIND_VIRTUALENV=ONLY -DLLVM_ENABLE_PROJECTS=mlir -DLLVM_EXTERNAL_PROJECTS="torch-mlir;torch-mlir-dialects" -DLLVM_EXTERNAL_TORCH_MLIR_SOURCE_DIR=`pwd` -DLLVM_EXTERNAL_TORCH_MLIR_DIALECTS_SOURCE_DIR=`pwd`/externals/llvm-external-projects/torch-mlir-dialects -DMLIR_ENABLE_BINDINGS_PYTHON=OFF -DTORCH_MLIR_USE_INSTALLED_PYTORCH=OFF -DLLVM_TARGETS_TO_BUILD=AArch64 -DLLVM_USE_HOST_TOOLS=ON externals/llvm-project/llvm && cmake --build build --target...

> I don't think that fixes the issue. With the ARM recreate above you still get: Do you still pass `-DCMAKE_C_COMPILER=arm-linux-gnueabihf-gcc -DCMAKE_CXX_COMPILER=arm-linux-gnueabihf-g++`? Anyway, I can offer to take over and...

> Yes I did pass that and still no luck Well, one thing is that `arm-none-linux-gnueabihf-g++` won't be able to produce the native binaries for x86. It only supports Arm...

> @marbre any luck with this issue ? I am still on it. > In all cases MLIR_TABLEGEN doesn't seem to respect -DLLVM_USE_HOST_TOOLS=ON like mlir-linalg-ods-yaml-gen does. @powderluv What behavior exactly...

> So expected output of > > ``` > ubuntu:~/github/torch-mlir$ cmake -GNinja -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=arm-linux-gnueabihf-gcc -DCMAKE_CXX_COMPILER=arm-linux-gnueabihf-g++ -DPython3_FIND_VIRTUALENV=ONLY -DLLVM_ENABLE_PROJECTS=mlir -DLLVM_EXTERNAL_PROJECTS="torch-mlir;torch-mlir-dialects" -DLLVM_EXTERNAL_TORCH_MLIR_SOURCE_DIR=`pwd` -DLLVM_EXTERNAL_TORCH_MLIR_DIALECTS_SOURCE_DIR=`pwd`/externals/llvm-external-projects/torch-mlir-dialects -DMLIR_ENABLE_BINDINGS_PYTHON=OFF -DTORCH_MLIR_USE_INSTALLED_PYTORCH=OFF -DLLVM_TARGETS_TO_BUILD=AArch64 -DLLVM_USE_HOST_TOOLS=ON externals/llvm-project/llvm && cmake --build build...

Any update on this?

The initial README added with commit https://github.com/google/styleguide/commit/51ce2f41175fdf95258fc82dad31eeb02daf8931 committed on May 20, 2015 refers to CC-BY-3.0 https://github.com/google/styleguide/blob/51ce2f41175fdf95258fc82dad31eeb02daf8931/README.md?plain=1#L9 whereas the Apache-2.0 license was added with commit https://github.com/google/styleguide/commit/f704c352f4f0597d2bd8b85d089b093946ff75d7 on Jan 3, 2020. So...

Are there any plans to add an GPU path tutorial/example? Maybe also in a similar fashion to https://github.com/bondhugula/mlir/blob/hop/g3doc/HighPerfCodeGen.md?