{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":26441447,"defaultBranch":"master","name":"nvptx-tools","ownerLogin":"SourceryTools","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2014-11-10T15:07:53.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/79634745?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1674427377.609945","currentOid":""},"activityList":{"items":[{"before":"3136cf99d987223dfdf2803eb5b7113a770f5b4a","after":"c6676f7cc9d109234c25bceee8b89ca3e9ca493b","ref":"refs/heads/master","pushedAt":"2024-08-02T17:09:00.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"tschwinge","name":"Thomas Schwinge","path":"/tschwinge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21753?s=80&v=4"},"commit":{"message":"Update imported files: GCC, 2024-04-26 [#1]\n\nGCC commit b8e9fd535d6093e3a24af858364d8517a767b0d7 (2024-04-26).\n\nCo-authored-by: Thomas Schwinge ","shortMessageHtmlLink":"Update imported files: GCC, 2024-04-26 [#1]"}},{"before":"87ce9dc5999e5fca2e1d3478a30888d9864c9804","after":"3136cf99d987223dfdf2803eb5b7113a770f5b4a","ref":"refs/heads/master","pushedAt":"2024-08-01T09:08:12.000Z","pushType":"push","commitsCount":7,"pusher":{"login":"tschwinge","name":"Thomas Schwinge","path":"/tschwinge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21753?s=80&v=4"},"commit":{"message":"ld: Use standard search order for unresolved symbols\n\nResolves #49 \"ld: non-standard search order for unresolved symbols\".","shortMessageHtmlLink":"ld: Use standard search order for unresolved symbols"}},{"before":"96f8fc59a757767b9e98157d95c21e9fef22a93b","after":"87ce9dc5999e5fca2e1d3478a30888d9864c9804","ref":"refs/heads/master","pushedAt":"2024-06-03T19:08:09.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tschwinge","name":"Thomas Schwinge","path":"/tschwinge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21753?s=80&v=4"},"commit":{"message":"ld: Global constructor/destructor support: Restore GCC 4.8 build\n\nThe recent commit 96f8fc59a757767b9e98157d95c21e9fef22a93b\n\"ld: Global constructor/destructor support\" doesn't build with GCC 4.8:\n\n In file included from [GCC 4.8]/include/c++/algorithm:62:0,\n from ../source-nvptx-tools/nvptx-ld.cc:35:\n [GCC 4.8]/include/c++/bits/stl_algo.h: In instantiation of '_RandomAccessIterator std::__unguarded_partition(_RandomAccessIterator, _RandomAccessIterator, const _Tp&, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Tp = cdtor; _Compare = cdtor::]':\n [GCC 4.8]/include/c++/bits/stl_algo.h:2296:78: required from '_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = cdtor::]'\n [GCC 4.8]/include/c++/bits/stl_algo.h:2337:62: required from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Size = long int; _Compare = cdtor::]'\n [GCC 4.8]/include/c++/bits/stl_algo.h:5499:44: required from 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator >; _Compare = cdtor::]'\n ../source-nvptx-tools/nvptx-ld.cc:390:55: required from here\n [GCC 4.8]/include/c++/bits/stl_algo.h:2263:35: error: no match for call to '(cdtor::) (cdtor&, const cdtor&)'\n while (__comp(*__first, __pivot))\n ^\n ../source-nvptx-tools/nvptx-ld.cc:316:3: note: candidate is:\n {\n ^\n ../source-nvptx-tools/nvptx-ld.cc:318:10: note: bool cdtor::::operator()(cdtor&, cdtor&) const\n bool operator() (cdtor &a, cdtor &b) const\n ^\n ../source-nvptx-tools/nvptx-ld.cc:318:10: note: no known conversion for argument 2 from 'const cdtor' to 'cdtor&'\n In file included from [GCC 4.8]/include/c++/algorithm:62:0,\n from ../source-nvptx-tools/nvptx-ld.cc:35:\n [GCC 4.8]/include/c++/bits/stl_algo.h:2266:34: error: no match for call to '(cdtor::) (const cdtor&, cdtor&)'\n while (__comp(__pivot, *__last))\n ^\n ../source-nvptx-tools/nvptx-ld.cc:316:3: note: candidate is:\n {\n ^\n ../source-nvptx-tools/nvptx-ld.cc:318:10: note: bool cdtor::::operator()(cdtor&, cdtor&) const\n bool operator() (cdtor &a, cdtor &b) const\n ^\n ../source-nvptx-tools/nvptx-ld.cc:318:10: note: no known conversion for argument 1 from 'const cdtor' to 'cdtor&'\n make: *** [Makefile:64: nvptx-none-ld] Error 1\n\nFix this by const-qualifying the comparator's formal parameters. (..., as it\nshould've been done anyway.)\n\nResolves #47 \"nvptx-ld.cc: Improve C++11 compatibility with older compilers\".","shortMessageHtmlLink":"ld: Global constructor/destructor support: Restore GCC 4.8 build"}},{"before":"29ba2d7db49fff2c9489e2f71d3c8c3b81d900cb","after":"96f8fc59a757767b9e98157d95c21e9fef22a93b","ref":"refs/heads/master","pushedAt":"2024-05-29T23:21:30.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"tschwinge","name":"Thomas Schwinge","path":"/tschwinge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21753?s=80&v=4"},"commit":{"message":"ld: Global constructor/destructor support\n\n... to be used via the upcoming GCC\n\"nvptx target: Global constructor, destructor support, via nvptx-tools 'ld'\".","shortMessageHtmlLink":"ld: Global constructor/destructor support"}},{"before":"9962793f41e016318dc5eca07ae602041cf526ff","after":"29ba2d7db49fff2c9489e2f71d3c8c3b81d900cb","ref":"refs/heads/master","pushedAt":"2024-05-28T16:42:20.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"tschwinge","name":"Thomas Schwinge","path":"/tschwinge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21753?s=80&v=4"},"commit":{"message":"Merge pull request #46 from tob2/update-gitrepo-url\n\nChange github.com/MentorEmbedded to github.com/SourceryTools","shortMessageHtmlLink":"Merge pull request #46 from tob2/update-gitrepo-url"}},{"before":"c5ad8ada3e86d96b10a9d352b7a764f801478ba6","after":"9962793f41e016318dc5eca07ae602041cf526ff","ref":"refs/heads/master","pushedAt":"2024-04-19T07:51:35.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"tschwinge","name":"Thomas Schwinge","path":"/tschwinge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21753?s=80&v=4"},"commit":{"message":"Merge commit 'eee9c4f49603d58b1fac046e1aa746e90bcd64d3' into HEAD\n\nGiven how GCC currently emits '//:IND_FUNC_MAP' there actually doesn't seem to\nbe any potential for mishandling -- but fix it up anyway, to keep things tidy\nand future-proof.\n\nThis fixes #45.","shortMessageHtmlLink":"Merge commit 'eee9c4f49603d58b1fac046e1aa746e90bcd64d3' into HEAD"}},{"before":"c321f1a3573dd89a12e3291d690207685a34df6e","after":"c5ad8ada3e86d96b10a9d352b7a764f801478ba6","ref":"refs/heads/master","pushedAt":"2023-11-15T13:45:17.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"tschwinge","name":"Thomas Schwinge","path":"/tschwinge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21753?s=80&v=4"},"commit":{"message":"Merge commit '0ebab4adbdc13aaba23361328b19a727868a6a84' into HEAD [#44]\n\n..., and also add 'test/ld/hash-style-1.test'.","shortMessageHtmlLink":"Merge commit '0ebab4adbdc13aaba23361328b19a727868a6a84' into HEAD [#44]"}},{"before":"aa3404ad5a496cda5d79a50bedb1344fd63e8763","after":"c321f1a3573dd89a12e3291d690207685a34df6e","ref":"refs/heads/master","pushedAt":"2023-09-13T06:18:41.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tschwinge","name":"Thomas Schwinge","path":"/tschwinge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21753?s=80&v=4"},"commit":{"message":"as: Allow for arbitrary number of tokens in a 'stmt'\n\n... instead of erroneous behavior for 2 ^ 12 and higher -- which isn't usually\nreached, but still may be, and is valid.","shortMessageHtmlLink":"as: Allow for arbitrary number of tokens in a 'stmt'"}},{"before":"3f67564bbf8dba7e712d0a641d30121ae0358fe0","after":"aa3404ad5a496cda5d79a50bedb1344fd63e8763","ref":"refs/heads/master","pushedAt":"2023-09-06T08:20:53.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tschwinge","name":"Thomas Schwinge","path":"/tschwinge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21753?s=80&v=4"},"commit":{"message":"Ensure :VAR_MAP and :FUNC_MAP are output in order, part II [#29]\n\nFix the 'as' issue described in commit 3f67564bbf8dba7e712d0a641d30121ae0358fe0\n\"Ensure :VAR_MAP and :FUNC_MAP are output in order: add more test cases [#29]\"\nby handling '//:VAR_MAP', '//:FUNC_MAP' as stand-alone directives\ninstead of 'V_comment | V_prefix_comment'.\n\nThis also happens to unify the x86_64-linux-gnu, powerpc64le-linux-gnu\n'test/as/order-1-{x86_64-linux-gnu,powerpc64le-linux-gnu}.o' as well as\n'test/as/order-2-{x86_64-linux-gnu,powerpc64le-linux-gnu}.o' files.","shortMessageHtmlLink":"Ensure :VAR_MAP and :FUNC_MAP are output in order, part II [#29]"}},{"before":"2d3935c2f00d2ac8a8b16d95dd4bd8daf422e699","after":"3f67564bbf8dba7e712d0a641d30121ae0358fe0","ref":"refs/heads/master","pushedAt":"2023-09-06T08:15:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tschwinge","name":"Thomas Schwinge","path":"/tschwinge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21753?s=80&v=4"},"commit":{"message":"Ensure :VAR_MAP and :FUNC_MAP are output in order: add more test cases [#29]\n\n... documenting (differently) buggy 'as' behavior re\ncommit 1b5946d78ef5dcfb640e9f545a7c791b7f623911,\ncommit 26095fd01232061de9f79decb3e8222ef7b46191\n\"Ensure :VAR_MAP and :FUNC_MAP are output in order\": GCC/nvptx offloading via\nx86_64-linux-gnu vs. powerpc64le-linux-gnu host emit slightly different nvptx\ncode, which, for example, in 'test/as/order-2-x86_64-linux-gnu.o' vs.\n'test/as/order-2-powerpc64le-linux-gnu.o', now loses an initializer:\n\n @@ -8,4 +8,6 @@\n //:FUNC_MAP \"main$_omp_fn$0\"\n //:VAR_MAP \"data\"\n +// BEGIN GLOBAL VAR DEF: data\n +.visible .global .align 4 .u32 data[1] =\n // BEGIN GLOBAL FUNCTION DECL: gomp_nvptx_main\n .extern .func gomp_nvptx_main (.param .u64 %in_ar1, .param .u64 %in_ar2);\n @@ -14,7 +16,4 @@\n // BEGIN GLOBAL VAR DECL: __nvptx_uni\n .extern .shared .u32 __nvptx_uni[32];\n -// BEGIN GLOBAL VAR DEF: data\n -.visible .global .align 4 .u32 data[1] =\n -{5 };\n // END PREAMBLE\n .visible .entry main$_omp_fn$0 (.param .u64 %arg, .param .u64 %stack, .param .u64 %sz)\n\n..., and thus:\n\n [...]\n ptxas /tmp/ccFhz3dP.o, line 12; fatal : Parsing error near '.extern': syntax error\n ptxas fatal : Ptx assembly aborted due to errors\n nvptx-as: ptxas returned 255 exit status\n nvptx mkoffload: fatal error: [...]/powerpc64le-unknown-linux-gnu-accel-nvptx-none-gcc returned 1 exit status\n [...]","shortMessageHtmlLink":"Ensure :VAR_MAP and :FUNC_MAP are output in order: add more test cases ["}},{"before":"20a26fb04654db0fb029edb4ac6c02fb3c92a34d","after":"2d3935c2f00d2ac8a8b16d95dd4bd8daf422e699","ref":"refs/heads/master","pushedAt":"2023-09-06T08:12:24.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"tschwinge","name":"Thomas Schwinge","path":"/tschwinge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21753?s=80&v=4"},"commit":{"message":"as: Pass 'Vis' into 'parse_line_nosemi'","shortMessageHtmlLink":"as: Pass 'Vis' into 'parse_line_nosemi'"}},{"before":"13216705844e5d7c9d20b4e34f89a39017e191d4","after":"20a26fb04654db0fb029edb4ac6c02fb3c92a34d","ref":"refs/heads/master","pushedAt":"2023-09-06T07:43:59.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"tschwinge","name":"Thomas Schwinge","path":"/tschwinge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21753?s=80&v=4"},"commit":{"message":"as: When tokenizing a block comment, don't lose a preceding end of line marker","shortMessageHtmlLink":"as: When tokenizing a block comment, don't lose a preceding end of li…"}},{"before":"1b5946d78ef5dcfb640e9f545a7c791b7f623911","after":"13216705844e5d7c9d20b4e34f89a39017e191d4","ref":"refs/heads/master","pushedAt":"2023-09-04T09:55:53.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tschwinge","name":"Thomas Schwinge","path":"/tschwinge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21753?s=80&v=4"},"commit":{"message":"Bump architecture baseline from sm_35 to sm_50 [#30]\n\n..., so that things keep working with CUDA 12.0+.","shortMessageHtmlLink":"Bump architecture baseline from sm_35 to sm_50 [#30]"}},{"before":"934cb471b8b08db1e673a4f2dbc8dcb246e3bca0","after":"1b5946d78ef5dcfb640e9f545a7c791b7f623911","ref":"refs/heads/master","pushedAt":"2023-09-04T09:33:24.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"tschwinge","name":"Thomas Schwinge","path":"/tschwinge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21753?s=80&v=4"},"commit":{"message":"Merge commit '26095fd01232061de9f79decb3e8222ef7b46191' into HEAD [#29]\n\nIncorporate the original commit 26095fd01232061de9f79decb3e8222ef7b46191\n\"Ensure :VAR_MAP and :FUNC_MAP are output in order\", and add a test case.","shortMessageHtmlLink":"Merge commit '26095fd01232061de9f79decb3e8222ef7b46191' into HEAD [#29]"}},{"before":"e5b2a076a423105b11c2b3ea33f6332fe53d40ba","after":"934cb471b8b08db1e673a4f2dbc8dcb246e3bca0","ref":"refs/heads/master","pushedAt":"2023-08-07T09:06:25.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"tschwinge","name":"Thomas Schwinge","path":"/tschwinge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21753?s=80&v=4"},"commit":{"message":"as: Remove unused 'FUNC_MAP', 'VAR_MAP' scanning\n\nIt is necessary in 'mkoffload', but is not necessary here.","shortMessageHtmlLink":"as: Remove unused 'FUNC_MAP', 'VAR_MAP' scanning"}},{"before":"4f8229bfe6f49b4b4aff046025e59e41f2e63a3d","after":"e5b2a076a423105b11c2b3ea33f6332fe53d40ba","ref":"refs/heads/master","pushedAt":"2023-07-31T13:09:55.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tschwinge","name":"Thomas Schwinge","path":"/tschwinge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21753?s=80&v=4"},"commit":{"message":"Enable 'test/as/ptxas/missing-1.test' also if 'ptxas' is available","shortMessageHtmlLink":"Enable 'test/as/ptxas/missing-1.test' also if 'ptxas' is available"}},{"before":"2c6d5037ff5ecc36c02b9f17438c71622c76d163","after":"4f8229bfe6f49b4b4aff046025e59e41f2e63a3d","ref":"refs/heads/master","pushedAt":"2023-07-30T21:29:21.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"tschwinge","name":"Thomas Schwinge","path":"/tschwinge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21753?s=80&v=4"},"commit":{"message":"Merge commit '2c6d5037ff5ecc36c02b9f17438c71622c76d163' into HEAD","shortMessageHtmlLink":"Merge commit '2c6d5037ff5ecc36c02b9f17438c71622c76d163' into HEAD"}},{"before":"89d3a51bfaa5726fa1a83487aac4d4d6f9b6dc13","after":"2c6d5037ff5ecc36c02b9f17438c71622c76d163","ref":"refs/heads/master","pushedAt":"2023-07-25T16:59:42.000Z","pushType":"push","commitsCount":11,"pusher":{"login":"tschwinge","name":"Thomas Schwinge","path":"/tschwinge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21753?s=80&v=4"},"commit":{"message":"Update imported files: GCC, 2023-06-16 [#1, #42]\n\nGCC commit 7ff793415f55fa9a92f348fecb8c75ac8acc8b87.\n\nCo-authored-by: Thomas Schwinge ","shortMessageHtmlLink":"Update imported files: GCC, 2023-06-16 [#1, #42]"}},{"before":"6df53d518fa561a902ef7831c700ccc6177f38ef","after":"89d3a51bfaa5726fa1a83487aac4d4d6f9b6dc13","ref":"refs/heads/master","pushedAt":"2023-07-24T20:55:33.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tschwinge","name":"Thomas Schwinge","path":"/tschwinge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21753?s=80&v=4"},"commit":{"message":"Add 'move-if-change' [#1]\n\n... in its GCC commit 03b2a04d63c7a320ef86ee4a077bbdcefd02a271\n(Subversion r170076) revision.\n\nThis gets us rid of the (non-fatal) error mentioned in\n:\n\n @@ -84,7 +84,6 @@\n checking for unistd.h... yes\n checking whether byte ordering is bigendian... no\n checking for a BSD-compatible install... /usr/bin/install -c\n -/bin/sh: ./../move-if-change: No such file or directory\n checking for sys/file.h... yes\n checking for sys/param.h... yes\n checking for limits.h... yes\n\n..., and changes '[build]/libiberty/Makefile' as follows:\n\n @@ -108,6 +108,8 @@\n check: check-subdir\n installcheck: installcheck-subdir\n\n +# Warning: this fragment is automatically generated\n +enable_shared = no\n\n INCDIR=$(srcdir)/$(MULTISRCTOP)../include\n\n... by means of '[build]/libiberty/temp-frag' now being 'move-if-change'd to\n'[build]/libiberty/xhost-mkfrag'.\n\nCo-authored-by: Thomas Schwinge ","shortMessageHtmlLink":"Add 'move-if-change' [#1]"}},{"before":"6fd17cba59dea6ea8c5a99b0f3cab16ec519e795","after":"6df53d518fa561a902ef7831c700ccc6177f38ef","ref":"refs/heads/master","pushedAt":"2023-07-24T20:40:46.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"tschwinge","name":"Thomas Schwinge","path":"/tschwinge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21753?s=80&v=4"},"commit":{"message":"Remove 'acinclude.m4'\n\n..., whose definitions are now not used anymore.","shortMessageHtmlLink":"Remove 'acinclude.m4'"}},{"before":"f87fd95bdd953d9b7f0201b2435a30bed6859e6f","after":"6fd17cba59dea6ea8c5a99b0f3cab16ec519e795","ref":"refs/heads/master","pushedAt":"2023-07-23T10:25:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tschwinge","name":"Thomas Schwinge","path":"/tschwinge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21753?s=80&v=4"},"commit":{"message":"Have 'aclocal.m4' be \"generated automatically by aclocal\"\n\n... instead of maintaining a non-'aclocal' version, manually duplicating\n'acinclude.m4' content.\n\nFor that, 'rm aclocal.m4' (once, to delete the non-'aclocal' version), and from\nthen on: 'autoreconf' (or, manually, 'aclocal') with '-I config'.","shortMessageHtmlLink":"Have 'aclocal.m4' be \"generated automatically by aclocal\""}},{"before":"e9dabebc5b483ef181667fb839e9248d501a11de","after":"f87fd95bdd953d9b7f0201b2435a30bed6859e6f","ref":"refs/heads/master","pushedAt":"2023-07-23T10:21:40.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"tschwinge","name":"Thomas Schwinge","path":"/tschwinge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21753?s=80&v=4"},"commit":{"message":"Merge commit 'e9dabebc5b483ef181667fb839e9248d501a11de' into HEAD","shortMessageHtmlLink":"Merge commit 'e9dabebc5b483ef181667fb839e9248d501a11de' into HEAD"}},{"before":"bbb6fe642c6c50422e2886b3f488fcb776336c46","after":"e9dabebc5b483ef181667fb839e9248d501a11de","ref":"refs/heads/master","pushedAt":"2023-07-23T09:59:48.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"tschwinge","name":"Thomas Schwinge","path":"/tschwinge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21753?s=80&v=4"},"commit":{"message":"Merge commit 'bbb6fe642c6c50422e2886b3f488fcb776336c46' into HEAD","shortMessageHtmlLink":"Merge commit 'bbb6fe642c6c50422e2886b3f488fcb776336c46' into HEAD"}},{"before":"97e8e1a8fe5285de5a3d45520afdebaf76678422","after":"bbb6fe642c6c50422e2886b3f488fcb776336c46","ref":"refs/heads/master","pushedAt":"2023-07-18T14:16:09.000Z","pushType":"push","commitsCount":9,"pusher":{"login":"tschwinge","name":"Thomas Schwinge","path":"/tschwinge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21753?s=80&v=4"},"commit":{"message":"Document \"Program Instrumentation: Sanitizers\" in 'README-development'","shortMessageHtmlLink":"Document \"Program Instrumentation: Sanitizers\" in 'README-development'"}},{"before":"8c3fd16cc0dea434e3f4931c04a37885bd3deba3","after":"97e8e1a8fe5285de5a3d45520afdebaf76678422","ref":"refs/heads/master","pushedAt":"2023-06-23T07:31:59.731Z","pushType":"push","commitsCount":11,"pusher":{"login":"tschwinge","name":"Thomas Schwinge","path":"/tschwinge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21753?s=80&v=4"},"commit":{"message":"run: For auto '--stack-size', consider free instead of total device memory [#8]\n\n:\n\n> [...], on a laptop where the Nvidia Quadro P1000 is also used for\n> graphics (Xorg, GNOME Shell, Firefox), per `nvidia-smi`, currently\n> `3127MiB / 4096MiB` memory are in use.\n> Any `nvptx-none-run` fails:\n> `could not set stack limit: out of memory (CUDA_ERROR_OUT_OF_MEMORY, 2)`.\n>\n> Having a look, via `cuDeviceTotalMem` it calculates the default stack\n> size based on the total device memory (minus heap size, minus\n> \"128 MiB extra\", divided by 4 SMs, 2048 threads each) to ~460 KiB, then\n> \"limit default size to 128 KiB maximum\".\n> That, however is too much, because that computation actually should be\n> done not with the *total* but on the *free* device memory.\n> For example, see :\n> \"calculation which must be satisified\".\n> (This is racy, obviously; [...].)\n> Manually doing the calculation, I get a limit in the order of ~90 KiB.\n> And indeed: a lauch with `--stack-size 100000` works, but\n> `--stack-size 110000` fails.\n> [Via `cuMemGetInfo`, `mem_free`] I'm confirming this to calculate an\n> (even lower) stack size of ~60 KiB.","shortMessageHtmlLink":"run: For auto '--stack-size', consider free instead of total device m…"}},{"before":"93e00909ceb9cbbc104f0fcba56c0361ffb3ca4b","after":"8c3fd16cc0dea434e3f4931c04a37885bd3deba3","ref":"refs/heads/master","pushedAt":"2023-06-22T16:21:48.983Z","pushType":"push","commitsCount":2,"pusher":{"login":"tschwinge","name":"Thomas Schwinge","path":"/tschwinge","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21753?s=80&v=4"},"commit":{"message":"Merge remote-tracking branch 'upstream/master' into HEAD","shortMessageHtmlLink":"Merge remote-tracking branch 'upstream/master' into HEAD"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEkGKKDgA","startCursor":null,"endCursor":null}},"title":"Activity · SourceryTools/nvptx-tools"}