conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "tests: Update the task inliner test\n" }, { "from": "human", "value": "-- Copyright 2020 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with the License.\n-- You may ob...
rouge
chosen
[ { "from": "system", "value": "test: Make sure the test actually go through the index launch optimizer\n" }, { "from": "human", "value": "-- Copyright 2019 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in complia...
rouge
chosen
[ { "from": "system", "value": "regent: Update test to avoid global side effects.\n" }, { "from": "human", "value": "-- Copyright 2016 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with the License.\...
rouge
chosen
[ { "from": "system", "value": "regent: Fix test for Legion Spy.\n" }, { "from": "human", "value": "-- Copyright 2018 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with the License.\n-- You may obtai...
rouge
chosen
[ { "from": "system", "value": "regent: Fix argument parsing in manual C API examples.\n" }, { "from": "human", "value": "-- Copyright 2017 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with the Lice...
rouge
chosen
[ { "from": "system", "value": "tests: Make the test actually fail\n" }, { "from": "human", "value": "-- Copyright 2019 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with the License.\n-- You may obt...
rouge
chosen
[ { "from": "system", "value": "regent: Fix test to match type checker.\n" }, { "from": "human", "value": "-- Copyright 2016 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with the License.\n-- You ma...
rouge
chosen
[ { "from": "system", "value": "tutorial: Rename task to avoid confusion with double type.\n" }, { "from": "human", "value": "-- Copyright 2016 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with the ...
rouge
chosen
[ { "from": "system", "value": "regent: Update global var tutorial to avoid use of printf as example function.\n" }, { "from": "human", "value": "-- Copyright 2022 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in ...
rouge
chosen
[ { "from": "system", "value": "test: Add copyrights and disable the test\n" }, { "from": "human", "value": "import \"regent\"\n\nfspace fs\n{\n field : int8;\n payload : double[1678];\n}\n\ntask init(r : region(ispace(int1d), fs))\nwhere\n reads writes(r)\ndo\nend\n\ntask compute(r : region(is...
rouge
chosen
[ { "from": "human", "value": "regent: Add test for empty regions.\n" }, { "from": "gpt", "value": "-- Copyright 2016 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with the License.\n-- You may obtai...
rouge
chosen
[ { "from": "human", "value": "regent: Test case that reduces to one subregion at a time\n" }, { "from": "gpt", "value": "-- Copyright 2016 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with the Lice...
rouge
chosen
[ { "from": "human", "value": "regent: Add test for index launch with MAX_DIM 8.\n" }, { "from": "gpt", "value": "-- Copyright 2019 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with the License.\n--...
rouge
chosen
[ { "from": "human", "value": "regent: Add a test for vectorization.\n" }, { "from": "gpt", "value": "-- Copyright 2015 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with the License.\n-- You may obt...
rouge
chosen
[ { "from": "human", "value": "regent: Add test for implicit coercions on array accesses.\n" }, { "from": "gpt", "value": "-- Copyright 2016 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with the Lic...
rouge
chosen
[ { "from": "human", "value": "regent: Add a test for empty index launches.\n" }, { "from": "gpt", "value": "-- Copyright 2021 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with the License.\n-- You ...
rouge
chosen
[ { "from": "human", "value": "regent: Add a test for phase barriers in copies (currently not passing).\n" }, { "from": "gpt", "value": "-- Copyright 2015 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in complianc...
rouge
chosen
[ { "from": "human", "value": "regent: Add a test for parallelization with SPMD.\n" }, { "from": "gpt", "value": "-- Copyright 2016 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with the License.\n--...
rouge
chosen
[ { "from": "human", "value": "bishop: Test case for instance creation option\n" }, { "from": "gpt", "value": "-- Copyright 2016 Stanford University, NVIDIA Corporation\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with...
rouge
chosen
[ { "from": "human", "value": "regent: Test for multiple field declarations where multiple evaluation matters.\n" }, { "from": "gpt", "value": "-- Copyright 2016 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in co...
rouge
chosen
[ { "from": "human", "value": "regent: Add test for double fill.\n" }, { "from": "gpt", "value": "-- Copyright 2016 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with the License.\n-- You may obtain ...
rouge
chosen
[ { "from": "human", "value": "regent: Add test for task constraints.\n" }, { "from": "gpt", "value": "-- Copyright 2016 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with the License.\n-- You may ob...
rouge
chosen
[ { "from": "human", "value": "regent: Add test for rect modulus.\n" }, { "from": "gpt", "value": "-- Copyright 2018 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with the License.\n-- You may obtain...
rouge
chosen
[ { "from": "human", "value": "regent: Add a test for 4d region.\n" }, { "from": "gpt", "value": "import \"regent\"\n\ntask f(r : region(ispace(int4d), double))\nwhere reads(r) do\n var t : double = 0.0\n for i in r do\n t += r[i]\n end\n return t\nend\n\ntask main()\n var r = region(ispac...
rouge
chosen
[ { "from": "human", "value": "test: Test for binary operators on arrays\n" }, { "from": "gpt", "value": "-- Copyright 2019 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with the License.\n-- You may...
rouge
chosen
[ { "from": "human", "value": "regent: Add test for NO_ACCESS privilege.\n" }, { "from": "gpt", "value": "-- Copyright 2019 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with the License.\n-- You may...
rouge
chosen
[ { "from": "human", "value": "regent: Add test using multi-dimensional constants to index partitions.\n" }, { "from": "gpt", "value": "-- Copyright 2017 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance...
rouge
chosen
[ { "from": "human", "value": "test: Add a test doing reductions to a disjoint partition\n" }, { "from": "gpt", "value": "-- Copyright 2017 Stanford University, NVIDIA Corporation\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in comp...
rouge
chosen
[ { "from": "human", "value": "regent: Test case for vectorizing 1D stencil\n" }, { "from": "gpt", "value": "-- Copyright 2016 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with the License.\n-- You ...
rouge
chosen
[ { "from": "human", "value": "Revert \"Revert \"regent: Add test for multiple regions with identical field names.\"\"\n\nThis reverts commit 782097ae4dcfee7cead874f832b86493905aea85.\n" }, { "from": "gpt", "value": "-- Copyright 2017 Stanford University\n--\n-- Licensed under the Apache License, ...
rouge
chosen
[ { "from": "human", "value": "regent: Add a test for volume on sparse index space.\n" }, { "from": "gpt", "value": "-- Copyright 2018 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with the License.\...
rouge
chosen
[ { "from": "human", "value": "regent: Add test for bounds checks.\n" }, { "from": "gpt", "value": "-- Copyright 2016 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with the License.\n-- You may obtai...
rouge
chosen
[ { "from": "human", "value": "regent: Test for reordering blocks with side effects.\n" }, { "from": "gpt", "value": "-- Copyright 2018 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with the License....
rouge
chosen
[ { "from": "human", "value": "regent: Test to confirm we filter various runtime flags.\n" }, { "from": "gpt", "value": "-- Copyright 2021 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with the Licen...
rouge
chosen
[ { "from": "human", "value": "regent: Add test for multiple regions with identical field names.\n" }, { "from": "gpt", "value": "-- Copyright 2017 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with ...
rouge
chosen
[ { "from": "human", "value": "bishop: Add a test case of selector type mismatch\n" }, { "from": "gpt", "value": "-- Copyright 2016 Stanford University, NVIDIA Corporation\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance w...
rouge
chosen
[ { "from": "human", "value": "regent: Add test for task variant on an IO processor.\n" }, { "from": "gpt", "value": "-- Copyright 2017 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with the License....
rouge
chosen
[ { "from": "human", "value": "regent: Add test for multiple reductions.\n" }, { "from": "gpt", "value": "-- Copyright 2016 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with the License.\n-- You may...
rouge
chosen
[ { "from": "human", "value": "bishop: Add a test for 2D task launches.\n" }, { "from": "gpt", "value": "-- Copyright 2016 Stanford University, NVIDIA Corporation\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with the L...
rouge
chosen
[ { "from": "human", "value": "regent: Test case for index launch optimizer handling coherence modes\n" }, { "from": "gpt", "value": "-- Copyright 2016 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance w...
rouge
chosen
[ { "from": "human", "value": "regent: Add test for partitioning with a domain point coloring.\n" }, { "from": "gpt", "value": "-- Copyright 2016 Stanford University\n--\n-- Licensed under the Apache License, Version 2.0 (the \"License\");\n-- you may not use this file except in compliance with th...
rouge
chosen