-
Notifications
You must be signed in to change notification settings - Fork 4.6k
[GCC11] Add missing #include for std::size_t definition #34825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
please test for slc7_amd64_gcc11 |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34825/24596
|
|
A new Pull Request was created by @iarspider for master. It involves the following packages:
@makortel, @fwyzard can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
|
-1 Failed Tests: Build The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
You can see more details here: BuildI found compilation error when building: >> Cuda Device Link tmp/slc7_amd64_gcc11/src/HeterogeneousCore/CUDAUtilities/test/gpuPrefixScan_t/gpuPrefixScan_t_cudadlink.o
>> Building binary gpuPrefixScan_t
Copying tmp/slc7_amd64_gcc11/src/HeterogeneousCore/CUDAUtilities/test/gpuPrefixScan_t/gpuPrefixScan_t to productstore area:
>> Compiling /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_1_X_2021-08-09-1100/src/HeterogeneousCore/CUDAUtilities/test/radixSort_t.cu
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_1_X_2021-08-09-1100/src/HeterogeneousCore/CUDAUtilities/test/radixSort_t.cu: In function 'void go(bool) [with T = float; int NS = 2; U = float; LL = double]':
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_1_X_2021-08-09-1100/src/HeterogeneousCore/CUDAUtilities/test/radixSort_t.cu:145:15: error: array subscript 'long unsigned int[0]' is partly outside array bounds of 'float [1]' [-Werror=array-bounds]
145 | *k = (*k >> sh) << sh;
| ~~~~^~~~~~~~
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_1_X_2021-08-09-1100/src/HeterogeneousCore/CUDAUtilities/test/radixSort_t.cu:139:6: note: while referencing 'k1'
139 | auto k1 = a[ind[j]];
| ^
|
|
please test |
|
gcc11 build errors are fix ( https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9ee046/17690/build-logs/HeterogeneousCore/CUDAUtilities/log.html ) though we have still have few more in tests which can be fixed in a different PR |
|
-1 Failed Tests: RelVals-INPUT RelVals-INPUT
Expand to see more relval errors ...Comparison SummarySummary:
|
|
@fwyzard any objection on this change? If this is the correct fix then it should fix many build/link errors for gcc11 IBs |
|
no objections to the change itself, but why is it needed ? also, if we make the change we need to add an explicit comment about it, as per the file's license |
Co-authored-by: Andrea Bocci <[email protected]>
|
When writing in C++, one can either include |
|
please test |
|
+heterogeneous |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34825/24641
|
|
Pull request #34825 was updated. can you please check and sign again. |
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9ee046/17726/summary.html Comparison SummarySummary:
|
|
+1
|
Error log: https://cmssdt.cern.ch/SDT/cgi-bin/buildlogs/slc7_amd64_gcc11/CMSSW_12_1_X_2021-08-09-1100/HeterogeneousCore/CUDAUtilities
Error message:
PR description:
PR validation:
if this PR is a backport please specify the original PR and why you need to backport that PR:
Before submitting your pull requests, make sure you followed this checklist: