Skip to content

Commit

Permalink
waimu fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Robadob committed Nov 15, 2023
1 parent 610634f commit 30da5ad
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/flamegpu/model/AgentFunctionDescription.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ AgentFunctionDescription AgentDescription::newRTCFunction(const std::string& fun
}
}
// set the runtime agent function source in agent function data
std::string func_src_str = std::string(function_name + "_program\n");
std::string func_src_str;
#ifdef FLAMEGPU_OUTPUT_RTC_DYNAMIC_FILES
func_src_str.append("#line 1 \"").append(code_func_name).append("_impl.cu\"\n");
#endif
Expand Down
16 changes: 8 additions & 8 deletions src/flamegpu/runtime/detail/curve/curve_rtc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@

#include "jitify/jitify2.hpp"
//// jitify include for demangle
//#ifdef _MSC_VER
//#pragma warning(push, 2)
//#include "jitify/jitify.hpp"
//#pragma warning(pop)
//#else
//#include "jitify/jitify.hpp"
//#endif
#ifdef _MSC_VER
#pragma warning(push, 2)
#include "jitify/jitify.hpp"
#pragma warning(pop)
#else
#include "jitify/jitify.hpp"
#endif

namespace flamegpu {
namespace detail {
namespace curve {


const char* CurveRTCHost::curve_rtc_dynamic_h_template = R"###(dynamic/curve_rtc_dynamic.h
const char* CurveRTCHost::curve_rtc_dynamic_h_template = R"###(
#line 1 "$FILENAME"
#ifndef CURVE_RTC_DYNAMIC_H_
#define CURVE_RTC_DYNAMIC_H_
Expand Down

0 comments on commit 30da5ad

Please sign in to comment.