Intel® FPGA SDK for OpenCL™ Standard Edition: Getting Started Guide
                    
                        ID
                        683678
                    
                
                
                    Date
                    9/24/2018
                
                
                    Public
                
            
                
                    
                        1. Intel® FPGA SDK for OpenCL™ Standard Edition Getting Started Guide
                    
                    
                
                    
                        2. Getting Started with the Intel® FPGA SDK for OpenCL™ Standard Edition for Windows
                    
                    
                
                    
                        3. Getting Started with the Intel® FPGA SDK for OpenCL™ Standard Edition for Linux
                    
                    
                
                    
                    
                        A. Document Revision History for Intel® FPGA SDK for OpenCL™ Standard Edition Getting Started Guide
                    
                
            
        
                        
                        
                            
                            
                                2.1. Downloading the Intel® FPGA SDK for OpenCL™ Standard Edition
                            
                        
                            
                            
                                2.2. Installing the Intel® FPGA SDK for OpenCL™
                            
                        
                            
                            
                                2.3. Setting the Intel® FPGA SDK for OpenCL™ Standard Edition User Environment Variables
                            
                        
                            
                            
                                2.4. Verifying Software Installation
                            
                        
                            
                            
                                2.5. Installing an FPGA Board
                            
                        
                            
                                2.6. Verifying Host Runtime Functionality via Emulation
                            
                            
                        
                            
                            
                                2.7. Creating the FPGA Hardware Configuration File of an OpenCL Kernel
                            
                        
                            
                                2.8. Updating the Hardware Image on the FPGA
                            
                            
                        
                            
                                2.9. Executing an OpenCL Kernel on an FPGA
                            
                            
                        
                            
                            
                                2.10. Uninstalling the Software
                            
                        
                            
                            
                                2.11. Uninstalling the FPGA Board
                            
                        
                    
                
                        
                        
                            
                            
                                3.1. Downloading the Intel® FPGA SDK for OpenCL™ Standard Edition
                            
                        
                            
                            
                                3.2. Installing the Intel® FPGA SDK for OpenCL™
                            
                        
                            
                            
                                3.3. Setting the Intel® FPGA SDK for OpenCL™ Standard Edition User Environment Variables
                            
                        
                            
                            
                                3.4. Verifying Software Installation
                            
                        
                            
                            
                                3.5. Installing an FPGA Board
                            
                        
                            
                                3.6. Verifying Host Runtime Functionality via Emulation
                            
                            
                        
                            
                            
                                3.7. Creating the FPGA Hardware Configuration File of an OpenCL Kernel
                            
                        
                            
                                3.8. Updating the Hardware Image on the FPGA
                            
                            
                        
                            
                                3.9. Executing an OpenCL Kernel on an FPGA
                            
                            
                        
                            
                            
                                3.10. Uninstalling the Software
                            
                        
                            
                            
                                3.11. Uninstalling the FPGA Board
                            
                        
                    
                2.6.2. Compiling a Kernel for Emulation
 To compile an OpenCL™ kernel for emulation, include the -march=emulator option in your aoc command. 
  
 
   To compile the kernel for your target FPGA board, at a command prompt, navigate to the hello_world design and then invoke the following command: 
   
 
   aoc -march=emulator -v -board=<board_name> device/hello_world.cl -o=bin/hello_world_emulation.aocx 
     
    
 
  The Intel® FPGA SDK for OpenCL™ Offline Compiler compiles the hello_world.cl kernel source file and creates the hello_world_emulation.aocx emulation-specific executable file in the bin subdirectory.