Initial Code

This commit is contained in:
Anton Reinhard
2023-05-25 17:20:16 +02:00
parent 965ce37e74
commit 264d5f834b
9 changed files with 169 additions and 0 deletions

28
src/tasks.jl Normal file
View File

@ -0,0 +1,28 @@
abstract type AbstractTask end
abstract type AbstractComputeTask <: AbstractTask end
abstract type AbstractDataTask <: AbstractTask end
struct DataTask <: AbstractDataTask
data::UInt32
end
# S task with 1 child
struct ComputeTaskS1 <: AbstractComputeTask
end
# S task with 2 children
struct ComputeTaskS2 <: AbstractComputeTask
end
# P task with 0 children
struct ComputeTaskP <: AbstractComputeTask
end
# v task with 2 children
struct ComputeTaskV <: AbstractComputeTask
end
# u task with 1 child
struct ComputeTaskU <: AbstractComputeTask
end