I'm trying to do some tests followed [testing 
info](https://github.com/apache/tvm/tree/9273ea5e49ca05404293cb651ced6d0bc0c0f206/tests/python/contrib/test_hexagon).\
I tried to generate a session like this below.\
![image|637x217](upload://uOSNniJWGsLDSogBE3cZJG9PeLb.png) 

Then I just try to generate some data and move them to the hexagon simulator, 
just like in the test file.
![image|617x149](upload://fBsULAhoUQiWKB2YLUQvIAIJ61L.png) 

At this step, I got an error.\
It seems to be caused by copying data to hexagon simulator.\
![image|690x382](upload://3120eNRFnj3e9NaOUmJlI1uQqko.jpeg) 

By checking logfile in the workspace, I found something wierd.\
I build *Hexagon_api* and *tvm* both with `USE_HEXAGON_ARCH=v66`.\
And in my code, I defined target with `target = tvm.target.hexagon('v66', 
link_param=True)`.\
While in the log, it shows that the cpu architecture is not specified.\
![image|690x132](upload://yJ8jjgIhXbWUQiOVm3ecDCnM4nH.jpeg) 

So I guess that's the problem.\
After rebuilding *Hexagon_api* and *tvm* with `v68`, everthing turns ok.\
Here it the question, is there a way to set the CPU arch mentioned in the 
figure?\
Is it `v68` by default or is there something wrong with the whole process of my 
code?





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/how-to-set-cpu-of-hexagon-simulator/12938/1)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/408dd2d7d7d2b527beda417863eb7baa19042a85b78967592cc449a567ebc94b).

Reply via email to