Developer Guide for Intel® SDK for OpenCL™ Applications 2017
                    
                        ID
                        773042
                    
                
                
                    Date
                    10/22/2018
                
                
                    Public
                
            A newer version of this document is available. Customers should click here to go to the newest version.
                        
                        
                            
                            
                                Legal Information
                            
                        
                            
                            
                                Getting Help and Support
                            
                        
                            
                            
                                Introducing the Intel® SDK for OpenCL™ Applications
                            
                        
                            
                            
                                What's New in This Release
                            
                        
                            
                            
                                Which Version of the Intel® SDK for OpenCL™ Applications Should I Use?
                            
                        
                            
                                Intel® Code Builder for OpenCL™ API Plug-in for Microsoft Visual Studio*
                            
                            
                        
                            
                                Intel® Code Builder for OpenCL™ API Plug-in for Eclipse*
                            
                            
                        
                            
                                Debugging OpenCL™ Kernels on GPU
                            
                            
                        
                            
                                Intel® SDK for OpenCL™ Applications Standalone Version
                            
                            
                        
                            
                            
                                OpenCL™ 2.1 Development Environment
                            
                        
                            
                            
                                Intel® FPGA Emulation Platform for OpenCL™ Getting Started Guide
                            
                        
                            
                                Troubleshooting Intel® SDK for OpenCL™ Applications Issues
                            
                            
                        
                    
                
                                                
                                                
                                                    
                                                    
                                                        Configuring Microsoft Visual Studio* IDE
                                                    
                                                    
                                                
                                                    
                                                    
                                                        Converting an Existing Project into an OpenCL™ Project
                                                    
                                                    
                                                
                                                    
                                                        OpenCL™ New Project Wizard
                                                    
                                                    
                                                    
                                                
                                                    
                                                    
                                                        Building an OpenCL™ Project
                                                    
                                                    
                                                
                                                    
                                                    
                                                        Using OpenCL™ Build Properties
                                                    
                                                    
                                                
                                                    
                                                    
                                                        Selecting a Target OpenCL™ Device
                                                    
                                                    
                                                
                                                    
                                                    
                                                        Generating and Viewing Assembly Code
                                                    
                                                    
                                                
                                                    
                                                    
                                                        Generating and Viewing LLVM Code
                                                    
                                                    
                                                
                                                    
                                                    
                                                        Generating Intermediate Program Binaries with Intel® Code Builder for OpenCL™ API Plug-in
                                                    
                                                    
                                                
                                                    
                                                    
                                                        Configuring OpenCL™ Build Options
                                                    
                                                    
                                                
                                            
                                        
                                                
                                                
                                                    
                                                    
                                                        Kernel Development Framework Session
                                                    
                                                    
                                                
                                                    
                                                    
                                                        Code Builder Build Toolbar
                                                    
                                                    
                                                
                                                    
                                                    
                                                        Creating a New Session
                                                    
                                                    
                                                
                                                    
                                                    
                                                        Saving and Loading Sessions
                                                    
                                                    
                                                
                                                    
                                                    
                                                        Configuring a Session
                                                    
                                                    
                                                
                                                    
                                                        Building a Session
                                                    
                                                    
                                                    
                                                
                                                    
                                                    
                                                        Removing Sessions
                                                    
                                                    
                                                
                                                    
                                                        Variable Management in Eclipse*
                                                    
                                                    
                                                    
                                                
                                                    
                                                        Executing a Kernel
                                                    
                                                    
                                                    
                                                        
                                                            See Also
                                                        
                                                    
                                                
                                                    
                                                        Analyzing Kernel Performance
                                                    
                                                    
                                                    
                                                
                                                    
                                                    
                                                        Generating C++ Host Code From a Session
                                                    
                                                    
                                                
                                            
                                        Executing a Kernel
To execute the kernel, complete the following steps:
- Select the session you are interested in from the Code Builder Sessions Explorer.
-  Optionally, select a configuration from the Code Builder Analysis Input pane: 
    - Select the desired configuration from the down button next to the Configuration ID field.
- To create a new configuration based on the selected configuration, click the New Configuration button.
 
- Select the kernel to execute from the Select Kernel combo-box in the Code Builder Analyze toolbar and click the Run button to execute the selected kernel with the selected configuration: 
 