- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for posting in Intel communities.
>>Some oneAPI DPC++ sample code projects compile within Visual Studio and some do not.
Could you please let us know the list of sample projects which are not compiling at your end?
From your screenshot, we can see that in your console application there are two mains(one from vector-add-buffers.cpp and another from vector-add-usm.cpp). So, please try to avoid giving more than one main or try using Cmake.
>>Is there some property that needs to be set within VS?
Please find the below link to set the properties for implementing DPC++ projects.
You can also use the Intel oneAPI command prompt to run the code.
Please refer to the below screenshot for more details:
If your issue still persists, Please let us know the Visual studio version and sub-version(Help-->About Microsoft Visual Studio) you are using.
Thanks and Regards,
Vankudothu Vaishnavi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Has the information provided above helped? If yes, could you please confirm whether we can close this thread from our end?
Thanks and Regards,
Vankudothu Vaishnavi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We assume that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.
Thanks & Regards,
Vankudothu Vaishnavi.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page