Skip to content

Commit ce94444

Browse files
committed
add basic structure
1 parent ba7390d commit ce94444

12 files changed

Lines changed: 148 additions & 31 deletions

File tree

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
2+
version: 2
3+
updates:
4+
- package-ecosystem: "github-actions"
5+
directory: "/" # Location of package manifests
6+
schedule:
7+
interval: "weekly"

.github/workflows/CI.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- main
6+
tags: ['*']
7+
pull_request:
8+
workflow_dispatch:
9+
concurrency:
10+
# Skip intermediate builds: always.
11+
# Cancel intermediate builds: only if it is a pull request build.
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
14+
jobs:
15+
test:
16+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
17+
runs-on: ${{ matrix.os }}
18+
timeout-minutes: 60
19+
permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created
20+
actions: write
21+
contents: read
22+
strategy:
23+
fail-fast: false
24+
matrix:
25+
version:
26+
- '1.10'
27+
- '1.12'
28+
os:
29+
- ubuntu-latest
30+
arch:
31+
- x64
32+
steps:
33+
- uses: actions/checkout@v6
34+
- uses: julia-actions/setup-julia@v2
35+
with:
36+
version: ${{ matrix.version }}
37+
arch: ${{ matrix.arch }}
38+
- uses: julia-actions/cache@v2
39+
- uses: julia-actions/julia-buildpkg@v1
40+
- uses: julia-actions/julia-runtest@v1

.github/workflows/CompatHelper.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: CompatHelper
2+
on:
3+
schedule:
4+
- cron: 0 0 * * *
5+
workflow_dispatch:
6+
jobs:
7+
CompatHelper:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Install CompatHelper
11+
run: using Pkg; Pkg.add("CompatHelper")
12+
shell: julia --color=yes {0}
13+
- name: Run CompatHelper
14+
run: using CompatHelper; CompatHelper.main()
15+
shell: julia --color=yes {0}
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}

.github/workflows/TagBot.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: TagBot
2+
on:
3+
issue_comment:
4+
types:
5+
- created
6+
workflow_dispatch:
7+
jobs:
8+
TagBot:
9+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: JuliaRegistries/TagBot@v1
13+
with:
14+
token: ${{ secrets.GITHUB_TOKEN }}
15+
# For commits that modify workflow files: SSH key enables tagging, but
16+
# releases require manual creation. For full automation of such commits,
17+
# use a PAT with `workflow` scope instead of GITHUB_TOKEN.
18+
# See: https://github.com/JuliaRegistries/TagBot#commits-that-modify-workflow-files
19+
ssh: ${{ secrets.DOCUMENTER_KEY }}

.gitignore

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1 @@
1-
# Files generated by invoking Julia with --code-coverage
2-
*.jl.cov
3-
*.jl.*.cov
4-
5-
# Files generated by invoking Julia with --track-allocation
6-
*.jl.mem
7-
8-
# System-specific files and directories generated by the BinaryProvider and BinDeps packages
9-
# They contain absolute paths specific to the host computer, and so should not be committed
10-
deps/deps.jl
11-
deps/build.log
12-
deps/downloads/
13-
deps/usr/
14-
deps/src/
15-
16-
# Build artifacts for creating documentation generated by the Documenter package
17-
docs/build/
18-
docs/site/
19-
20-
# File generated by Pkg, the package manager, based on a corresponding Project.toml
21-
# It records a fixed state of all packages used by the project. As such, it should not be
22-
# committed for packages, but should be committed for applications that require a static
23-
# environment.
24-
Manifest*.toml
25-
26-
# File generated by the Preferences package to store local preferences
27-
LocalPreferences.toml
28-
JuliaLocalPreferences.toml
1+
/Manifest*.toml

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2026 Julia Manifolds
3+
Copyright (c) 2026 Mateusz Baran <mateuszbaran89@gmail.com> and contributors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

NEWS.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Changelog
2+
3+
All notable changes to ´ManifoldsGPU.jl´ will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [0.1.0] unreleased
9+
10+
* Initial release of `ManifoldsGPU.jl`

Project.toml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name = "ManifoldsGPU"
2+
uuid = "007d1224-8888-47ee-87d0-87e096ff9b5b"
3+
version = "0.1.0-DEV"
4+
authors = ["Mateusz Baran <mateuszbaran89@gmail.com> and contributors"]
5+
6+
[deps]
7+
ManifoldDiff = "af67fdf4-a580-4b9f-bbec-742ef357defd"
8+
Manifolds = "1cead3c2-87b3-11e9-0ccd-23c62b72b94e"
9+
ManifoldsBase = "3362f125-f0bb-47a3-aa74-596ffd7ef2fb"
10+
11+
[weakdeps]
12+
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
13+
14+
[compat]
15+
CUDA = "5.9.6"
16+
ManifoldDiff = "0.4.5"
17+
Manifolds = "0.11.12"
18+
ManifoldsBase = "2.3.1"
19+
julia = "1.10.10"
20+
21+
[extras]
22+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
23+
24+
[targets]
25+
test = ["Test"]

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
# ManifoldsGPU.jl
2-
GPU/CUDA support for JuliaManifolds
1+
# ManifoldsGPU
2+
3+
[![Build Status](https://github.com/Mateusz Baran/ManifoldsGPU.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/Mateusz Baran/ManifoldsGPU.jl/actions/workflows/CI.yml?query=branch%3Amain)

ext/ManifoldsGPUCUDAExt.jl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
module ManifoldsGPUCUDAExt
3+
4+
using Manifolds
5+
using ManifoldsBase
6+
7+
using CUDA
8+
9+
10+
11+
end

0 commit comments

Comments
 (0)