File tree Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,9 @@ class Program
14
14
{
15
15
static void Main ( string [ ] args )
16
16
{
17
- Device . SetBackend ( Backend . CPU ) ;
17
+ Device . SetBackend ( Backend . DEFAULT ) ;
18
+ Device . PrintInfo ( ) ;
19
+
18
20
var arr1 = Data . RandNormal < float > ( 3 , 3 ) ;
19
21
var arr2 = Data . RandNormal < float > ( 3 , 3 ) ;
20
22
var arr3 = arr1 + arr2 ;
Original file line number Diff line number Diff line change 58
58
</DocumentationFile >
59
59
<Prefer32Bit >true</Prefer32Bit >
60
60
<PlatformTarget >x64</PlatformTarget >
61
+ <EnableUnmanagedDebugging >true</EnableUnmanagedDebugging >
61
62
</PropertyGroup >
62
63
<Choose >
63
64
<When Condition =" '$(VisualStudioVersion)' == '11.0'" >
Original file line number Diff line number Diff line change @@ -9,7 +9,9 @@ open ArrayFire
9
9
[<EntryPoint>]
10
10
let main argv =
11
11
12
- Device.SetBackend( Backend.CPU)
12
+ Device.SetBackend( Backend.DEFAULT)
13
+ Device.PrintInfo()
14
+
13
15
let arr1 = Data.RandNormal< double>( 3 , 3 )
14
16
let arr2 = Data.RandNormal< double>( 3 , 3 )
15
17
let arr3 = arr1 + arr2
Original file line number Diff line number Diff line change 58
58
</DocumentationFile >
59
59
<Prefer32Bit >true</Prefer32Bit >
60
60
<PlatformTarget >x64</PlatformTarget >
61
+ <EnableUnmanagedDebugging >true</EnableUnmanagedDebugging >
61
62
</PropertyGroup >
62
63
<Choose >
63
64
<When Condition =" '$(VisualStudioVersion)' == '11.0'" >
You can’t perform that action at this time.
0 commit comments