Loading graph_framework/cuda_context.hpp +6 −6 Original line number Diff line number Diff line Loading @@ -42,7 +42,7 @@ namespace gpu { /// @brief Check results of realtime compile. /// @params[in] name Name of the operation. //------------------------------------------------------------------------------ void check_nvrtc_error(nvrtcResult result, static void check_nvrtc_error(nvrtcResult result, const std::string &name) { #ifndef NDEBUG std::cout << name << " " << result << " " Loading @@ -57,7 +57,7 @@ namespace gpu { /// @params[in] result Result code of the operation. /// @params[in] name Name of the operation. //------------------------------------------------------------------------------ void check_error(CUresult result, static void check_error(CUresult result, const std::string &name) { #ifndef NDEBUG const char *error; Loading @@ -74,7 +74,7 @@ namespace gpu { /// @params[in] result Result code of the operation. /// @params[in] name Name of the operation. //------------------------------------------------------------------------------ void check_error_async(CUresult result, static void check_error_async(CUresult result, const std::string &name) { check_error(result, name); #ifndef NDEBUG Loading Loading
graph_framework/cuda_context.hpp +6 −6 Original line number Diff line number Diff line Loading @@ -42,7 +42,7 @@ namespace gpu { /// @brief Check results of realtime compile. /// @params[in] name Name of the operation. //------------------------------------------------------------------------------ void check_nvrtc_error(nvrtcResult result, static void check_nvrtc_error(nvrtcResult result, const std::string &name) { #ifndef NDEBUG std::cout << name << " " << result << " " Loading @@ -57,7 +57,7 @@ namespace gpu { /// @params[in] result Result code of the operation. /// @params[in] name Name of the operation. //------------------------------------------------------------------------------ void check_error(CUresult result, static void check_error(CUresult result, const std::string &name) { #ifndef NDEBUG const char *error; Loading @@ -74,7 +74,7 @@ namespace gpu { /// @params[in] result Result code of the operation. /// @params[in] name Name of the operation. //------------------------------------------------------------------------------ void check_error_async(CUresult result, static void check_error_async(CUresult result, const std::string &name) { check_error(result, name); #ifndef NDEBUG Loading