{"id":16864985,"url":"https://github.com/facorread/segregation","last_synced_at":"2026-05-18T08:31:51.474Z","repository":{"id":137342646,"uuid":"85700772","full_name":"facorread/segregation","owner":"facorread","description":"SchellingSegregation: Exercise on the conventional Schelling segregation model","archived":false,"fork":false,"pushed_at":"2017-03-22T16:33:11.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T17:52:48.588Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/facorread.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-21T12:46:04.000Z","updated_at":"2017-03-22T06:35:00.000Z","dependencies_parsed_at":"2023-04-03T22:18:24.136Z","dependency_job_id":null,"html_url":"https://github.com/facorread/segregation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/facorread/segregation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/facorread%2Fsegregation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/facorread%2Fsegregation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/facorread%2Fsegregation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/facorread%2Fsegregation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/facorread","download_url":"https://codeload.github.com/facorread/segregation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/facorread%2Fsegregation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33170828,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T05:43:36.989Z","status":"ssl_error","status_checked_at":"2026-05-18T05:43:19.133Z","response_time":71,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T14:44:47.807Z","updated_at":"2026-05-18T08:31:51.455Z","avatar_url":"https://github.com/facorread.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Copyright and license\n\nSchellingSegregation: Exercise on the conventional Schelling segregation model\nCopyright (C) 2017 Fabio Correa \u003cfacorread@gmail.com\u003e\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n\n# Computer requirements\n\nThis software has been developed using [Visual Basic Community 2015](https://www.visualstudio.com/vs/community/) with [CUDA Toolkit 8.0](https://developer.nvidia.com/cuda-toolkit). There is no guarantee it will work on any other setup.\n\nFor `Windows` you might want to install [MinGW](http://www.mingw.org).\n\n# Developer notes\n\nThis source code is managed using [git](http://git-scm.org); the repository is hosted in both [GitHub](https://github.com/facorread/segregation) and [GitLab](https://gitlab.com/facorread/segregation).\n\nIf all warnings are enabled in Visual Studio (`-Wall`), it will be necessary to add the following flags to the host compiler, at Project Property Pages \u003e Configuration Properties \u003e CUDA C / C++ \u003e Host \u003e Additional Compiler Options:\n\n`/wd4001 /wd4668 /wd4514 /wd4820 /wd4515 /wd4571 /wd4365  /wd4626 /wd5027 /wd4324 /wd4623 /wd4100 /wd4191 /wd4710`\n\nThe additional compiler option `-Za` for strict `C++11` compliance cannot be used because there are noncompliance issues with precompiled headers that were provided with the CUDA Toolkit 8.0.\n\nBecause `-Za` cannot be used, `constexpr` is unavailable for class member functions.\n\nNVidia recommends 64-bit compilation using `--machine 64`. Memory in CUDA devices is addressed using 64 bits, and size_t is 64 bits long, but registers are 32 bits long; shared memory alignment and banks are 32 bits too. In order to optimize memory bandwidth, prefer arrays of `unsigned char` (8 bits), `unsigned short` (16 bits) or `unsigned int` (32 bits) indices over arrays of pointers.\n\n`cuRAND` is better and more complete than `thrust` for random numbers.\n\nDo not use `size_t` AKA `unsigned long long`. The CUDA Toolkit has a well hidden bug that affects arithmetic operations on size_t values. The bug has been reported on 2017/02/22.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffacorread%2Fsegregation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffacorread%2Fsegregation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffacorread%2Fsegregation/lists"}