You can not select more than 25 topicsTopics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
This commit introduces MindTrick support.
Using so-called MindTricks, the ConstrainSchedule pass attempts to
provide a good starting schedule. If the pass succeeds, it returns the
new schedule and may also suggest to disable some subsequent passes. The
set of disabled passes depends on the MindTrick.
If the pass does not succeed, it returns its input schedule and none
of the subsequent passes will be disabled.
Signed-off-by: Harenome Ranaivoarivony-Razanajato <harenome.razanajato@huawei.com>
fix DumpSchTreeToFile(): fix isl_schedule_get_ctx() typo
SchedulePass: introduce fine-grain pass disabling
tests/test_env.sh: take environment into account for AKG_DIR and AKG_BUILD_DIR
poly/log_util: add logging helpers for poly
poly/isl_util: add isl utilities
MappingOuterBand::DoThreadMapping(): do not map swizzle dimensions
PassMgrStrategy: provide RegisterConstrainedScheduling()
GPUMgrStrategy: enable ConstrainSchedule
DavinciMgrStrategy: enable ConstrainSchedule
SchedulingMindTrick::BuildInfluencedSchedule(): build influenced schedule
tests/operators/gpu/test_all.py: parse MindTrick CLI args
tests/operators/gpu: add MindTrick support for 3 tests
tests/st/ops/gpu: support MindTricks for test_fused_bn_update and test_relu_grad
tests/st/ops/test_all.py: add test_mindtricks
Signed-off-by: Harenome Ranaivoarivony-Razanajato <harenome.razanajato@huawei.com>
SchedulingMindTrick: add pattern matching
SchedulingMindTrick: support soft constraints
Signed-off-by: Adilla Susungi <adilla.susungi@huawei.com>
isl-influence.patch: add patch
isl_influence: add header and code
Signed-off-by: Javier de Juan <javier.de.juan@huawei.com>
SharedMemoryManager: add shared_inversed_thread_map option
SharedMemoryManager: add shared_vector_align option
UserConfig: I/O options and switch for ConstrainSchedule
test_composite_json.py: parse MindTrick CLI args
Signed-off-by: Nelson Lossing <nelson.lossing@huawei.com>
swizzle: add swizzle pass
tests/operators/gpu: add .gitignore
Signed-off-by: Baptiste Jarry <jarry.baptiste@huawei.com>
gpu flags: ConstrainSchedule: create tempfile
gpu flags: nvcc.py: support custom gpu flags
Signed-off-by: Etienne Filhol <etienne.fihol@huawei.com>