Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,4 @@ add_app(stencil_chain)
add_app(unsharp)
add_app(wavelet)
add_app(HelloBaremetal)
add_app(random_pipeline)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please insert this in alphabetical order (and fix HelloBaremetal, apparently)

23 changes: 23 additions & 0 deletions apps/random_pipeline/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
cmake_minimum_required(VERSION 3.28)
project(random_pipeline)

enable_testing()

# Set up language settings
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED YES)
set(CMAKE_CXX_EXTENSIONS NO)

# Find Halide
find_package(Halide REQUIRED)

# Generator
add_halide_generator(random_pipeline.generator
SOURCES random_pipeline_generator.cpp
LINK_LIBRARIES Halide::Tools)

# Filters
add_halide_library(random_pipeline FROM random_pipeline.generator)
add_halide_library(random_pipeline_auto_schedule FROM random_pipeline.generator
GENERATOR random_pipeline
AUTOSCHEDULER Halide::Mullapudi2016)
Loading
Loading