Skip to content
Draft
Show file tree
Hide file tree
Changes from 5 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
2 changes: 1 addition & 1 deletion 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 -std=c++14 -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
3 changes: 3 additions & 0 deletions dace/dtypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1258,6 +1258,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
Loading
Loading