{"id":17633188,"url":"https://github.com/zpzim/stompselfjoin","last_synced_at":"2026-02-28T20:02:45.714Z","repository":{"id":77051127,"uuid":"59060081","full_name":"zpzim/STOMPSelfJoin","owner":"zpzim","description":"GPU Implementation of the STOMP algorithm for computing the matrix profile","archived":false,"fork":false,"pushed_at":"2018-09-27T19:17:10.000Z","size":21310,"stargazers_count":21,"open_issues_count":0,"forks_count":8,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-10-20T07:54:48.907Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.cs.ucr.edu/~eamonn/MatrixProfile.html","language":"Cuda","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zpzim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2016-05-17T21:22:57.000Z","updated_at":"2025-07-28T14:17:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"725779e4-c306-4eb4-ad9e-d16c5074c09c","html_url":"https://github.com/zpzim/STOMPSelfJoin","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/zpzim/STOMPSelfJoin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zpzim%2FSTOMPSelfJoin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zpzim%2FSTOMPSelfJoin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zpzim%2FSTOMPSelfJoin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zpzim%2FSTOMPSelfJoin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zpzim","download_url":"https://codeload.github.com/zpzim/STOMPSelfJoin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zpzim%2FSTOMPSelfJoin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29951075,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T18:42:55.706Z","status":"ssl_error","status_checked_at":"2026-02-28T18:42:48.811Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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-23T01:47:45.591Z","updated_at":"2026-02-28T20:02:45.678Z","avatar_url":"https://github.com/zpzim.png","language":"Cuda","funding_links":[],"categories":[],"sub_categories":[],"readme":"# STOMPSelfJoin\nThis is a GPU implementation of the STOMP algorithm. STOMP takes a time series as input and computes the matrix profile for a particular window size. You can read more at the [Matrix Profile Homepage](http://www.cs.ucr.edu/~eamonn/MatrixProfile.html)\n\nFor additional features and better performance you should use [SCAMP](http://github.com/zpzim/SCAMP)\n# Environment\nThis base project requires:\n * At least version 9.0 of the CUDA toolkit available [here](https://developer.nvidia.com/cuda-toolkit).\n * An NVIDIA GPU with CUDA support is also required. You can find a list of CUDA compatible GPUs [here](https://developer.nvidia.com/cuda-gpus)\n * Currently builds under linux with the Makefile. \n * Should compile under windows, but untested. \n# Usage\n* Edit the Makefile\n  * Volta is supported by default, but if needed set the value of ARCH to correspond to the compute capability of your GPU.\n    * \"-gencode=arch=compute_code,code=sm_code\" where code corresponds to the compute capability or arch you wish to add.\n  * Make sure CUDA_DIRECTORY corresponds to the location where cuda is installed on your system. This is usually `/usr/local/cuda-(VERSION)/` on linux\n  * Also, by default the kernel parameters are optimized for volta only, if you are building for Pascal or earlier, please tune the variables TILE_HEIGHT_ADJUSTMENT and UNROLL_COUNT in STOMP.cu accordingly\n  * Some suggested parameters for different architectures are provided in the comments\n* `make`\n* `STOMP window_size input_file_path output_matrix_profile_path output_indexes_path (Optional: list of device numbers that you want to run on)`\n* Example:\n* `STOMP 1024 SampleInput/randomlist128K.txt profile.txt index.txt 0 2`\n* By default, if no devices are specified, STOMP will run on all available devices\n\n\n# Matlab hook (deprecated)\n * The matlab hook is deprecated. It will be left here and is still mostly functional, but it will no longer be updated.\n * If you want to use these kernels in Matlab just run `make matlab`. This will output `STOMP.ptx`.\n * Just point Matlab to `STOMP.ptx` and `STOMP.cu` and you should be able to use any of the kernels through the [Matlab parallel computing toolbox](https://www.mathworks.com/products/parallel-computing.html).\n * StompSelfJoinGPU.m is a matlab script which will compute the matrix profile using the GPU. Assuming step 1 was followed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzpzim%2Fstompselfjoin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzpzim%2Fstompselfjoin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzpzim%2Fstompselfjoin/lists"}