Skip to content

Commit 507d56b

Browse files
committed
Address comments
1 parent 7182129 commit 507d56b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

include/tvm/runtime/vm.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ struct VMFrame {
366366
/*! \brief The executable emitted by the VM compiler.
367367
*
368368
* The executable contains information (e.g. data in different memory regions)
369-
* to create a virtual machine.
369+
* to run in a virtual machine.
370370
*/
371371
class Executable : public ModuleNode {
372372
public:
@@ -382,7 +382,7 @@ class Executable : public ModuleNode {
382382
const std::shared_ptr<ModuleNode>& sptr_to_self) final;
383383

384384
/*!
385-
* \brief Get the serialized form of the `functions` in `vm_`. This is
385+
* \brief Get the serialized form of the `functions`. This is
386386
* essentially bytecode serialization.
387387
*
388388
* \return The serialized vm bytecode.
@@ -433,7 +433,8 @@ class Executable : public ModuleNode {
433433
return "VMExecutable";
434434
}
435435

436-
/*! \brief The runtime module/library that contains hardware dependent code. */
436+
/*! \brief The runtime module/library that contains both the host and also the device
437+
* code when executing on non-CPU devices. */
437438
runtime::Module lib;
438439
/*! \brief The global constant pool. */
439440
std::vector<Object> constants;

src/runtime/vm/executable.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ std::string Executable::GetBytecode() const {
8787
<< func.instructions.size() << std::endl;
8888

8989
// Print pramams of a `VMFunction`.
90-
oss << "# Parameters:"<< std::endl;
90+
oss << "# Parameters: "<< std::endl;
9191
for (const auto& param : func.params) {
9292
oss << param << " ";
9393
}

0 commit comments

Comments
 (0)