Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "GPUToolbox"
uuid = "096a3bc2-3ced-46d0-87f4-dd12716f4bfc"
version = "0.1.0"
version = "0.2.0"

[compat]
julia = "1.10"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

## Functionality

This package currently exports the following:
This package currently has the following public symbols:
- `SimpleVersion`: a GPU-compatible version number
- `@sv_str`: constructs a SimpleVersion from a string
- `@checked`: Add to a function definition to generate an unchecked and a checked version.
Expand Down
5 changes: 3 additions & 2 deletions src/ccalls.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# utilities for calling foreign functionality more conveniently

export @checked, @debug_ccall, @gcsafe_ccall

if VERSION >= v"1.11.0-DEV.469"
eval(Meta.parse("public @checked, @debug_ccall, @gcsafe_ccall"))
end

## function wrapper for checking the return value of a function

Expand Down
4 changes: 3 additions & 1 deletion src/simpleversion.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export SimpleVersion, @sv_str
if VERSION >= v"1.11.0-DEV.469"
eval(Meta.parse("public SimpleVersion, @sv_str"))
end

"""
SimpleVersion(major, [minor])
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Test
using GPUToolbox
using GPUToolbox: SimpleVersion, @sv_str

@testset "GPUToolbox.jl" begin
@testset "SimpleVersion" begin
Expand Down
Loading