You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ju...@apache.org on 2022/09/30 05:58:48 UTC

[tvm] branch main updated: [Hexagon] Change NULL to nullptr, NFC (#12944)

This is an automated email from the ASF dual-hosted git repository.

junrushao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new dedf6393f1 [Hexagon] Change NULL to nullptr, NFC (#12944)
dedf6393f1 is described below

commit dedf6393f1575ba7614cea93d1bac89331cb310a
Author: Krzysztof Parzyszek <kp...@quicinc.com>
AuthorDate: Fri Sep 30 00:58:41 2022 -0500

    [Hexagon] Change NULL to nullptr, NFC (#12944)
    
    Change the `NULL` to `nullptr`.
---
 src/runtime/hexagon/rpc/android/session.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/runtime/hexagon/rpc/android/session.cc b/src/runtime/hexagon/rpc/android/session.cc
index 7c8b814453..59f1a2a122 100644
--- a/src/runtime/hexagon/rpc/android/session.cc
+++ b/src/runtime/hexagon/rpc/android/session.cc
@@ -121,7 +121,7 @@ TVM_REGISTER_GLOBAL("tvm.contrib.hexagon.create_hexagon_session")
           new HexagonTransportChannel(hexagon_rpc_URI CDSP_DOMAIN, remote_stack_size_bytes,
                                       static_cast<uint32_t>(hexagon_rpc_receive_buf_size_bytes));
       std::unique_ptr<RPCChannel> channel(hexagon_channel);
-      auto ep = RPCEndpoint::Create(std::move(channel), session_name, "", NULL);
+      auto ep = RPCEndpoint::Create(std::move(channel), session_name, "", nullptr);
       auto sess = CreateClientSession(ep);
       *rv = CreateRPCSessionModule(sess);
     });