Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
b5df016
Initial test
ThrudPrimrose Sep 22, 2025
eb2b0ae
improvements.py
ThrudPrimrose Sep 22, 2025
075b0e2
More passes
ThrudPrimrose Sep 22, 2025
530b01b
Some test
ThrudPrimrose Sep 22, 2025
5b61cc0
Fix test case
ThrudPrimrose Sep 22, 2025
d871904
Fix test
ThrudPrimrose Sep 22, 2025
da176db
Append global code
ThrudPrimrose Sep 22, 2025
0881a9d
Generate unique names, fix gpu preset
ThrudPrimrose Sep 22, 2025
3daee89
Improve information
ThrudPrimrose Sep 22, 2025
a857ff6
refactor
ThrudPrimrose Sep 22, 2025
3044e0f
Add new test case
ThrudPrimrose Sep 24, 2025
f6e5640
Fix typecast and nested SDFG issues
ThrudPrimrose Sep 24, 2025
bb0eff8
Fix bugs add tests
ThrudPrimrose Sep 24, 2025
2351c9d
Add test for the pass version.
ThrudPrimrose Sep 24, 2025
73e26ea
Bugfix
ThrudPrimrose Sep 24, 2025
6781033
Fix
ThrudPrimrose Sep 24, 2025
b83dda8
Fixes
ThrudPrimrose Sep 24, 2025
ebd6a98
Stuff
ThrudPrimrose Sep 24, 2025
0356117
Merge branch 'split-tasklet-pass-fix' into explicit-vectorization
ThrudPrimrose Sep 24, 2025
6126056
Fix pipelines
ThrudPrimrose Sep 24, 2025
6af5244
refactor
ThrudPrimrose Sep 24, 2025
0b46bc6
Extend
ThrudPrimrose Sep 24, 2025
2fcbfd3
Stuff
ThrudPrimrose Sep 25, 2025
d9efd84
Dealias
ThrudPrimrose Sep 25, 2025
975e2ae
Add connector dealiasing
ThrudPrimrose Sep 25, 2025
efecc9c
Fix for duplicate names
ThrudPrimrose Sep 25, 2025
81e3f53
Force connectors
ThrudPrimrose Sep 25, 2025
67b3fed
Some fixes for duplicate full range views
ThrudPrimrose Sep 25, 2025
8058078
Even more fixes
ThrudPrimrose Sep 25, 2025
105ca91
Wcr + propagation changes behaviour with the new naems
ThrudPrimrose Sep 25, 2025
fb19803
fix test - dealias changes memlet order
ThrudPrimrose Sep 25, 2025
6935fe6
run code cleaner
ThrudPrimrose Sep 25, 2025
3053126
Do not reinsert edges just change connectors
ThrudPrimrose Sep 25, 2025
3ca9759
Do not change test
ThrudPrimrose Sep 25, 2025
628e2a7
Fixes
ThrudPrimrose Sep 25, 2025
91a5907
Minor fixes
ThrudPrimrose Sep 25, 2025
c11aee4
Utils and fixes
ThrudPrimrose Sep 29, 2025
a8862e4
Some refactor
ThrudPrimrose Sep 29, 2025
9dff346
Fixes and stuff
ThrudPrimrose Oct 1, 2025
c16ec90
Updatess
ThrudPrimrose Oct 2, 2025
d79519f
Fix bugs save the princess
ThrudPrimrose Oct 4, 2025
82721b0
Something
ThrudPrimrose Oct 5, 2025
0f2d086
Add SDFG construction utilities
ThrudPrimrose Oct 7, 2025
fccc4f2
Add test case
ThrudPrimrose Oct 7, 2025
16d0423
Stuff
ThrudPrimrose Oct 7, 2025
fc58b3e
prepare
ThrudPrimrose Oct 29, 2025
f019f98
Rm explicit vectorize things
ThrudPrimrose Oct 29, 2025
eadeda5
Fix
ThrudPrimrose Oct 29, 2025
6a603c4
Stuff
ThrudPrimrose Oct 29, 2025
358aef3
Add classify tasklet
ThrudPrimrose Oct 29, 2025
60f7f9d
Rm use of | from type hints
ThrudPrimrose Oct 29, 2025
ce95213
Add stuff
ThrudPrimrose Oct 29, 2025
1913054
Minor refactor
ThrudPrimrose Oct 29, 2025
e504b9d
Refactor copy/reuse ont ransformations
ThrudPrimrose Oct 29, 2025
f5bdd91
Try something to fix spurious fails in the runner
ThrudPrimrose Oct 29, 2025
d0e6f2c
Merge
ThrudPrimrose Oct 31, 2025
d4c7f70
Merge branch 'main' into branch-elimination
ThrudPrimrose Oct 31, 2025
e7e0c85
Major refactor
ThrudPrimrose Oct 31, 2025
9268704
Pull improvements to the tasklet classification
ThrudPrimrose Oct 31, 2025
c6f15af
Try fix serialization failing but how is that me?
ThrudPrimrose Oct 31, 2025
3eabbd1
Merge branch 'main' into explicit-vectorization
ThrudPrimrose Oct 31, 2025
b80a1c8
Merge branch 'branch-elimination' into explicit-vectorization
ThrudPrimrose Oct 31, 2025
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
4 changes: 2 additions & 2 deletions dace/config_schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ required:
type: str
title: Arguments
description: Compiler argument flags
default: '-std=c++14 -fPIC -Wall -Wextra -O3 -march=native -ffast-math -Wno-unused-parameter -Wno-unused-label'
default: '-fopenmp -fPIC -Wall -Wextra -O3 -march=native -ffast-math -Wno-unused-parameter -Wno-unused-label'
default_Windows: '/O2 /fp:fast /arch:AVX2 /D_USRDLL /D_WINDLL /D__restrict__=__restrict'

libs:
Expand Down Expand Up @@ -303,7 +303,7 @@ required:
type: str
title: nvcc Arguments
description: Compiler argument flags for CUDA
default: '-Xcompiler -march=native --use_fast_math -Xcompiler -Wno-unused-parameter'
default: '--expt-relaxed-constexpr -Xcompiler -march=native --use_fast_math -Xcompiler -Wno-unused-parameter'
default_Windows: '-O3 --use_fast_math'

hip_args:
Expand Down
3 changes: 3 additions & 0 deletions dace/dtypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1267,6 +1267,9 @@ def isconstant(var):
string = stringtype()
MPI_Request = opaque('MPI_Request')

FLOAT_TYPES = {float64, float32, float16}
INT_TYPES = {int8, int16, int32, int64, uintp, uint8, uint16, uint32, uint64}


@undefined_safe_enum
@extensible_enum
Expand Down
3 changes: 3 additions & 0 deletions dace/frontend/python/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from dace.frontend.python import (newast, common as pycommon, cached_program, preprocessing)
from dace.sdfg import SDFG, utils as sdutils
from dace.data import create_datadescriptor, Data
from dace.sdfg.dealias import dealias

try:
from typing import get_origin, get_args
Expand Down Expand Up @@ -286,6 +287,8 @@ def to_sdfg(self, *args, simplify=None, save=False, validate=False, use_cache=Fa
# Add to cache
self._cache.add(cachekey, sdfg, None)

dealias(sdfg)

return sdfg

def __sdfg__(self, *args, **kwargs) -> SDFG:
Expand Down
Loading