Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiics committed Oct 14, 2019
1 parent 7182129 commit 507d56b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions include/tvm/runtime/vm.h
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ struct VMFrame {
/*! \brief The executable emitted by the VM compiler.
*
* The executable contains information (e.g. data in different memory regions)
* to create a virtual machine.
* to run in a virtual machine.
*/
class Executable : public ModuleNode {
public:
Expand All @@ -382,7 +382,7 @@ class Executable : public ModuleNode {
const std::shared_ptr<ModuleNode>& sptr_to_self) final;

/*!
* \brief Get the serialized form of the `functions` in `vm_`. This is
* \brief Get the serialized form of the `functions`. This is
* essentially bytecode serialization.
*
* \return The serialized vm bytecode.
Expand Down Expand Up @@ -433,7 +433,8 @@ class Executable : public ModuleNode {
return "VMExecutable";
}

/*! \brief The runtime module/library that contains hardware dependent code. */
/*! \brief The runtime module/library that contains both the host and also the device
* code when executing on non-CPU devices. */
runtime::Module lib;
/*! \brief The global constant pool. */
std::vector<Object> constants;
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/vm/executable.cc
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ std::string Executable::GetBytecode() const {
<< func.instructions.size() << std::endl;

// Print pramams of a `VMFunction`.
oss << "# Parameters:"<< std::endl;
oss << "# Parameters: "<< std::endl;
for (const auto& param : func.params) {
oss << param << " ";
}
Expand Down

0 comments on commit 507d56b

Please sign in to comment.