Skip to content

Commit 0588075

Browse files
authored
[SYCL][NFC] Minor update of upper limit attribute value (#2953)
This patch updates MaxValue of SYCLIntelSchedulerTargetFmaxMhz attribute to be consistent with other FPGA attributes. Before: static unsigned getMaxValue() { return 1048576; After: static unsigned getMaxValue() { return 1024*1024; The MaxValue(upper limit) is just an arbitrary high value. Signed-off-by: Soumi Manna <[email protected]>
1 parent 665e406 commit 0588075

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/include/clang/Basic/Attr.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1283,7 +1283,7 @@ def SYCLIntelSchedulerTargetFmaxMhz : InheritableAttr {
12831283
return 0;
12841284
}
12851285
static unsigned getMaxValue() {
1286-
return 1048576;
1286+
return 1024*1024;
12871287
}
12881288
}];
12891289

0 commit comments

Comments
 (0)