Skip to content

Commit 8d6143b

Browse files
committed
Jitify2: pin the commit to the HEAD of the jitify2 branch on 2025-08-04 + a fix
1 parent 1171904 commit 8d6143b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

cmake/dependencies/Jitify.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ endif()
1414
FetchContent_Declare(
1515
jitify
1616
GIT_REPOSITORY https://github.com/NVIDIA/jitify.git
17-
GIT_TAG jitify2-preprocessing-overhaul
17+
GIT_TAG 7d8fbc8dc5aa0609a84edaa860456a88f660cdd6 # jitify2 branch on 2025-08-04
1818
SOURCE_DIR ${FETCHCONTENT_BASE_DIR}/jitify-src/jitify
1919
GIT_PROGRESS ON
2020
# UPDATE_DISCONNECTED ON

src/flamegpu/simulation/CUDASimulation.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ void CUDASimulation::stepLayer(const std::shared_ptr<LayerData>& layer, const un
755755
// get instantiation
756756
const jitify2::KernelData& instance = cuda_agent.getRTCInstantiation(func_condition_identifier);
757757
// calculate the grid block size for main agent function
758-
CUfunction cu_func = instance.function();
758+
CUfunction cu_func = (CUfunction)instance.function();
759759
cuOccupancyMaxPotentialBlockSize(&minGridSize, &blockSize, cu_func, 0, 0, state_list_size);
760760
//! Round up according to CUDAAgent state list size
761761
gridSize = (state_list_size + blockSize - 1) / blockSize;

0 commit comments

Comments
 (0)