Skip to content

Commit

Permalink
Redesign CPU MSM with taskflow (#718)
Browse files Browse the repository at this point in the history
Accelerating MSM for CPU using taskflow library to distribute threads.
  • Loading branch information
mickeyasa authored Jan 8, 2025
1 parent 56f406e commit 95c33e4
Show file tree
Hide file tree
Showing 2 changed files with 296 additions and 658 deletions.
9 changes: 8 additions & 1 deletion icicle/backend/cpu/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
cmake_minimum_required(VERSION 3.18)

message(STATUS "Fetching Taskflow v3.8.0 (CPU backend)")


include(FetchContent)
# Temporarily redefine message() to suppress output
macro(message)
endmacro()
FetchContent_Declare(
Taskflow
GIT_REPOSITORY https://github.com/taskflow/taskflow.git
Expand All @@ -20,10 +25,12 @@ FetchContent_MakeAvailable(Taskflow)
# Use icicle_device as interface for TaskFlow headers
target_include_directories(icicle_device INTERFACE ${Taskflow_SOURCE_DIR})

# Restore the original message behavior
unset(message)

# CPU backend is built directly into icicle library

target_sources(icicle_device PRIVATE src/cpu_device_api.cpp)

# field API library
if (FIELD)
target_sources(icicle_field PRIVATE
Expand Down
Loading

0 comments on commit 95c33e4

Please sign in to comment.