Skip to content

Commit 8952890

Browse files
committed
Fix the default automatic backend selection order
1 parent 87a331e commit 8952890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/defines.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ pub enum AfError {
5858
#[derive(Clone, Copy, Debug, PartialEq)]
5959
#[cfg_attr(feature = "afserde", derive(Serialize, Deserialize))]
6060
pub enum Backend {
61-
/// Default backend order: OpenCL -> CUDA -> CPU
61+
/// Default backend order: CUDA -> OpenCL -> CPU
6262
DEFAULT = 0,
6363
/// CPU a.k.a sequential algorithms
6464
CPU = 1,

0 commit comments

Comments
 (0)