[apache/tvm-vta] Fix simulation for new chisel release (#34)

2021-08-22 Thread Luis Vega
The following fixes building simulation files for the new chisel version update 
done in #33 

@tmoreau89 @ekiwi 
You can view, comment on, or merge this pull request online at:

  https://github.com/apache/tvm-vta/pull/34

-- Commit Summary --

  * fix types

-- File Changes --

M hardware/chisel/Makefile (16)
M hardware/chisel/src/main/scala/dpi/VTAHostDPI.scala (2)
M hardware/chisel/src/main/scala/dpi/VTAMemDPI.scala (2)
M hardware/chisel/src/main/scala/dpi/VTASimDPI.scala (2)

-- Patch Links --

https://github.com/apache/tvm-vta/pull/34.patch
https://github.com/apache/tvm-vta/pull/34.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/tvm-vta/pull/34


[Apache TVM Discuss] [Development/pre-RFC] [RFC] TVM Target Specification

2021-08-22 Thread Junru Shao via Apache TVM Discuss


Thanks @mbs-octoml!

`Target` is a compile-time concept, while `device` is a runtime concept. The 
separation design is to make sure that a target can describe a device that 
doesn't exist on the host, mainly for cross compilation.

And yes, in principle, every `TargetKind` corresponds to a `DLDeviceType`, for 
example
- llvm (compile time) => kDLCPU (runtime)
- cuda (compile time) => kDLCUDA (runtime)
- nvptx (compile time) => kDLCUDA (runtime)

Note that `device_id` is not present anywhere in the `Target` system, because 
we don't require the device to be present on the host in compile time.





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/rfc-tvm-target-specification/6844/59) 
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/c3c0e41fc7d2acc38640a09969b5544c3ce9821fe657e197d8da496be649ce37).


[Apache TVM Discuss] [Development/pre-RFC] [RFC] TVM Target Specification

2021-08-22 Thread Junru Shao via Apache TVM Discuss


In other words, in compile time, IIUC we should replace `DLDeviceType` with 
`TargetKind`





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/rfc-tvm-target-specification/6844/60) 
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/566a1758c86fa70aacd10b63f7da470892c13e14a8dcdc226e62aceed945d290).


Re: [apache/tvm-vta] Fix simulation for new chisel release (#34)

2021-08-22 Thread Thierry Moreau
Merged #34 into main.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/tvm-vta/pull/34#event-5191584245