Skip to content

Commit

Permalink
Add warning that GPUs are experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonReinhard committed Sep 17, 2024
1 parent 5d02d14 commit 31a91e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
11 changes: 1 addition & 10 deletions src/devices/impl.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,6 @@ It is the simplest machine definition possible and produces a simple function wh
"""
function cpu_st()
return Machine(
[
ComputableDAGs.NumaNode(
0,
1,
ComputableDAGs.default_strategy(ComputableDAGs.NumaNode),
-1.0,
UUIDs.uuid1(),
),
],
[-1.0;;],
[NumaNode(0, 1, default_strategy(NumaNode), -1.0, UUIDs.uuid1())], [-1.0;;]
)
end
2 changes: 1 addition & 1 deletion src/devices/interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,6 @@ A GPU function has more restrictions on what can be computed than general functi
2. Function calls must not be dynamic. This means that type stability is required and the compiler must know in advance which method of a generic function to call. What this specifically entails may change with time and also differs between the different target GPU libraries. From experience, using the `always_inline = true` argument for `@cuda` calls can help with this.
!!! warning
This feature is currently experimental.
This feature is currently experimental. There are still some unresolved issues with the generated kernels.
"""
function kernel end

0 comments on commit 31a91e7

Please sign in to comment.