[arrayfire] 194/248: Update documentation.
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Tue Nov 17 15:54:26 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch dfsg-clean
in repository arrayfire.
commit ec4adea9ea6a09ad40a2499751bae2ba7ecb57dd
Author: Brian Kloppenborg <brian at kloppenborg.net>
Date: Wed Oct 21 17:28:02 2015 -0400
Update documentation.
---
docs/pages/using_on_windows.md | 47 ++++++++----------------------------------
1 file changed, 9 insertions(+), 38 deletions(-)
diff --git a/docs/pages/using_on_windows.md b/docs/pages/using_on_windows.md
index 452853e..e36fd22 100644
--- a/docs/pages/using_on_windows.md
+++ b/docs/pages/using_on_windows.md
@@ -3,17 +3,13 @@ Using ArrayFire with Microsoft Windows and Visual Studio {#using_on_windows}
## Pre-requisites
-Before you get started, make sure you have the necessary pre-requisites.
+If you have not already done so, please make sure you have installed,
+configured, and tested ArrayFire following the
+[installation instructions](\ref installing).
-- If you are using CUDA, please make sure you have [CUDA 7](https://developer.nvidia.com/cuda-downloads) installed on your system.
- - [Contact us](support at arrayfire.com) for custom builds (eg. different toolkits)
+## Testing the installation
-- If you are using OpenCL, please make sure you have one of the following SDKs.
- - [AMD OpenCL SDK](http://developer.amd.com/tools-and-sdks/opencl-zone/amd-accelerated-parallel-processing-app-sdk/)
- - [Intel OpenCL SDK](https://software.intel.com/en-us/articles/download-the-latest-intel-amt-software-development-kit-sdk)
- - [NVIDIA CUDA](https://developer.nvidia.com/cuda-downloads)
-
-## Step 0: Running pre-built executables
+### Step 1: Running pre-built executables
The ArrayFire installer ships with a few pre-built executables with the examples.
These should run out of the box.
@@ -21,33 +17,7 @@ These should run out of the box.
Note: For the CUDA executables, you will need to copy CUDA_PATH\nvvm\bin\nvvm64_30_0.dll
to the location of the executables.
-## Step 1: Adding ArrayFire to PATH for all users
-
-The ArrayFire installer for Windows creates a user `PATH` variable containing
-`%%AF_PATH%/lib`. This is required so that Windows knows where to find the
-ArrayFire DLLs. This variable fixes the DLL finding only for the user that
-installs ArrayFire.
-
-To allow DLL detection for all users, it needs to be added to the system
-`PATH` variable. For this, follow the steps:
-
-1. Open Advanced System Settings:
- * Windows 8: Move the Mouse pointer to the bottom right corner of the screen,
- Right click, choose System. Then click "Advanced System Settings"
- * Windows 7: Open the Start Menu and Right Click on "Computer". Then choose
- Properties and click "Advanced System Settings"
-
-2. In _Advanced System Settings_ window, click on _Advanced_ tab
-
-3. Click on _Environment Variables_, then under **System Variables**, find
- `PATH`, and click on it.
-
-4. In edit mode, append `%%AF_PATH%/lib`. NOTE: Ensure that there is a semi-colon
- separating `%%AF_PATH%/lib` from any existing content (e.g.
- `EXISTING_PATHS;%%AF_PATH%/lib;`) otherwise other software may not function
- correctly.
-
-## Step 2: Verify the path addition functions correctly
+### Step 2: Verify the path addition functions correctly
1. Open Visual Studio 2013. Open the HelloWorld solution which is located at
`AF_PATH/examples/helloworld/helloworld.sln`.
@@ -57,14 +27,15 @@ To allow DLL detection for all users, it needs to be added to the system
drop down (options of Release and Debug) menus.
3. Run the `helloworld` example
-## Step 3: Creating your own Visual Studio Project
+## Creating your own Visual Studio Project
### A new project from scratch
If you are creating a new project which is intended to be platform-independent,
the best option is to simply copy the existing `helloworld` solution files
and modify them to suit your needs. This will retain all the platform based
-settings that have been configured in the examples.
+settings that have been configured in the examples. You can find the example
+in the `AF_PATH/examples/helloworld/helloworld.sln` directory.
### Adding ArrayFire CPU/OpenCL to a new/existing project
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git
More information about the debian-science-commits
mailing list