Merge pull request #15635 from wopeizl/fixbuildissue

fix the build issue on gpu mode for win
revert-15661-fix-cpu-broadcast
wopeizl 7 years ago committed by GitHub
commit c1e18b13aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -141,7 +141,8 @@ class Graph {
ir::Node *CreateControlDepVar() {
// TODO(panyx0718): control var name should be really unique.
const std::string name = string::Sprintf(
"%s@%llu", ir::Node::kControlDepVarName, node_set_.size());
"%s@%llu", static_cast<const char *>(ir::Node::kControlDepVarName),
node_set_.size());
auto *x = AddNode(new ir::Node(name, ir::Node::Type::kVariable));
x->SetId(num_node_created_++);
return x;

Loading…
Cancel
Save