Hi all, 

I was wondering how can I call a specific llvm intrinsic from within a compute 
node. 

Something on the line of:
```
def test(x):
 
    def _compute(*indices):    
        value = x(*indices)
        return call_llvm_aarch64_intrinsic(value)
         
    return te.compute(x.shape, _compute)
```
The intrinsic I want to use would be applied as an element-wise operation 
(similar to `pow`, `log`, etc...)

This post from @anijain2305 is similar to what I would like to do, but got no 
answers: https://discuss.tvm.ai/t/broadcast-operation-for-a-vector/617

Is there any way to achieve what I am asking without going through `tensorize`?

Thanks,

Giuseppe





---
[Visit 
Topic](https://discuss.tvm.ai/t/how-to-use-a-specific-aarch64-llvm-intrinsic/6932/1)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.ai/email/unsubscribe/fb379bae22da0edd1b844c0cb8a02d6d9fdce1873e3f07212ce7f62bbf3acb3f).

Reply via email to