Tags: rnshah9/torch-mlir
Tags
[tosa] Support for AtenAvgPool2d op Signed-Off By: Vivek Khandelwal <vivek@nod-labs.com>
[tosa] Support for AtenAvgPool2d op Signed-Off By: Vivek Khandelwal <vivek@nod-labs.com>
[tosa] Support for AtenAvgPool2d op Signed-Off By: Vivek Khandelwal <vivek@nod-labs.com>
[tosa] Support for AtenAvgPool2d op Signed-Off By: Vivek Khandelwal <vivek@nod-labs.com>
[tosa] Support for AtenAvgPool2d op Signed-Off By: Vivek Khandelwal <vivek@nod-labs.com>
[tosa] Support for AtenAvgPool2d op Signed-Off By: Vivek Khandelwal <vivek@nod-labs.com>
build: fix code so that the compiler does not emit warnings (llvm#871) When compiling without assertions (i.e. in `NDEBUG` mode), a handful of statements turn to NOPs, which results in warnings such as missing return statement or unused variables and function. This patch replaces such statements with `llvm_unreachable()`, which informs the compiler about program termination regardless of the `NDEBUG` mode. This also enables torch-mlir to be compiled using the flags `-Wall`, `-Wextra`, `-Wpedantic`, and `-Werror`.
build: fix code so that the compiler does not emit warnings (llvm#871) When compiling without assertions (i.e. in `NDEBUG` mode), a handful of statements turn to NOPs, which results in warnings such as missing return statement or unused variables and function. This patch replaces such statements with `llvm_unreachable()`, which informs the compiler about program termination regardless of the `NDEBUG` mode. This also enables torch-mlir to be compiled using the flags `-Wall`, `-Wextra`, `-Wpedantic`, and `-Werror`.
build: fix code so that the compiler does not emit warnings (llvm#871) When compiling without assertions (i.e. in `NDEBUG` mode), a handful of statements turn to NOPs, which results in warnings such as missing return statement or unused variables and function. This patch replaces such statements with `llvm_unreachable()`, which informs the compiler about program termination regardless of the `NDEBUG` mode. This also enables torch-mlir to be compiled using the flags `-Wall`, `-Wextra`, `-Wpedantic`, and `-Werror`.
[MLIR][TORCH] Add E2E support for aten.Bool.[float|int] op This commit adds lowering of `aten.Bool.float` and `aten.Bool.int` op. Signed-Off By: Vivek Khandelwal <vivek@nod-labs.com>
PreviousNext