User Details
- User Since
- Mar 5 2021, 10:53 AM (117 w, 6 d)
Tue, May 16
Mon, May 15
Could you at least make CUDA-Fortran support behind a CMake option.
As a package manager on platform where CUDA is not supported (I am sure I am not alone), I don't want to fix code that will never benefit my platform.
You know this a community project, CUDA is not supported everywhere.
There is a big difference between CUDA and CUDA-Fortran.
CUDA could be used by any compiler MSVC, Intel, IBM, GNU... as It doesn't require any support from the compiler. It's just libraries+headers.
While CUDA-Fortran requires a support from the compiler itself.
GCC, Intel, Cray, Fujitsu ... compilers do not support it because It's just an Nvidia/PGI dialect, Flang-Classic is just an open-sourced Frontend of PGI compiler.
We are talking here about a company pushing for a dialect not widely used by the community.
If you fellow many discussions online in Fortran community, you know for sure that PGI compiler is one of the least/worst used compiler.
I think Nvidia should keep CUDA-Fortran support in the commercial/proprietary compiler that will be based on flang.
Fri, May 12
Shouldn't an RFC be opened before start upstreaming CUDA stuff.
Is the community OK with supporting this Nvidia/PGI language extension/dialect?
If for example Intel invents a new extension based OneAPI/SYCL, Should Flang supports it?
There should be a policy for this kind of changes.
Apr 11 2023
Apr 7 2023
How about extended precision (80bit) which is supported by LLVM/Clang on MINGW.
Jun 20 2022
Thanks
Jun 15 2022
Could someone push it for me, Please!
Apply suggestions from reviewer
Address reviewer comment
Jun 11 2022
ping!
Jun 5 2022
Jun 3 2022
> Does LLVM build successfully with /permissive-?
Yes, It does. You could check the windows build yourself
There was a failure with flang that we fixed it.
ping!
May 25 2022
May 24 2022
Thanks.
May 19 2022
May 13 2022
May 11 2022
This is the error message:
[6795/8382] Building CXX object tools\flang\runtime\CMakeFiles\obj.FortranRuntime.dir\time-intrinsic.cpp.obj FAILED: tools/flang/runtime/CMakeFiles/obj.FortranRuntime.dir/time-intrinsic.cpp.obj sccache C:\BuildTools\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe /nologo /TP -DBUILD_EXAMPLES -DFLANG_LITTLE_ENDIAN=1 -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\flang\runtime -IC:\ws\w3\llvm-project\premerge-checks\flang\runtime -IC:\ws\w3\llvm-project\premerge-checks\flang\include -Itools\flang\include -Iinclude -IC:\ws\w3\llvm-project\premerge-checks\llvm\include -IC:\ws\w3\llvm-project\premerge-checks\llvm\..\mlir\include -Itools\mlir\include -Itools\clang\include -IC:\ws\w3\llvm-project\premerge-checks\llvm\..\clang\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Zc:strictStrings /Oi /Zc:rvalueCast /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd4324 -w14062 -we4238 /Gw /MD /O2 /Ob2 -UNDEBUG -std:c++17 /EHs-c- /GR- /showIncludes /Fotools\flang\runtime\CMakeFiles\obj.FortranRuntime.dir\time-intrinsic.cpp.obj /Fdtools\flang\runtime\CMakeFiles\obj.FortranRuntime.dir\ /FS -c C:\ws\w3\llvm-project\premerge-checks\flang\runtime\time-intrinsic.cpp C:\ws\w3\llvm-project\premerge-checks\flang\runtime\time-intrinsic.cpp(77): error C2065: 'CLOCK_REALTIME': undeclared identifier C:\ws\w3\llvm-project\premerge-checks\flang\runtime\time-intrinsic.cpp(77): error C3861: 'CLOCK_REALTIME': identifier not found C:\ws\w3\llvm-project\premerge-checks\flang\runtime\time-intrinsic.cpp(146): error C2065: 'CLOCK_REALTIME': undeclared identifier C:\ws\w3\llvm-project\premerge-checks\flang\runtime\time-intrinsic.cpp(146): error C3861: 'CLOCK_REALTIME': identifier not found
May 10 2022
May 9 2022
Apr 7 2022
Apr 6 2022
Apr 3 2022
Could someone push it for me, Please.
Mar 25 2022
This commit make building standalone LLDB impossible on Windows. llvm/Config/config.h file is only generated at build-time and not get installed with llvm.
Please Fix it.
Dec 13 2021
Nov 24 2021
Sep 15 2021
May 7 2021
Apr 20 2021
Apr 15 2021
Could someone push this change p, please.
Apr 14 2021
Update diff
Apr 13 2021
Apr 10 2021
Ping
Apr 4 2021
Apr 3 2021
Apr 2 2021
I don't see any other error for now.
It works
I get this error:
D:\dev\llvm-project\flang\runtime\reduction.cpp(95): error C2059: syntax error: 'template' D:\dev\llvm-project\flang\runtime\reduction.cpp(404): note: see reference to function template instantiation 'signed char Fortran::runtime::GetTotalReduction<Fortran::common::TypeCategory::Integer,1,Fortran::runtime::IntegerSumAccumulator<int>>(const Fortran::runtime::Descriptor &,const char *,int,int,const Fortran::runtime::Descriptor *,ACCUMULATOR &&,const char *)' being compiled with [ ACCUMULATOR=Fortran::runtime::IntegerSumAccumulator<int> ]
Could you fix it?
It would be better if you exclude int128 intrinsic functions introduced in D99764
Other issues with MSVC:
1 - MSVC doesn't have __uint128 and __int128.
MSVC doesn't accept that portable Int128 type defined in uint128.h to be linked with a C function.
Maybe you should disable int128 intrinsic functions on the platforms where __unit128 and __int128 are not available
This commit breaks Building on MSVC.