Skip to content

Commit 09c74d7

Browse files
authored
sepia-filter- removing common headers from sample source folder (#23)
* Updated sample.json Signed-off-by: sravanik <sravani.konda@intel.com> * Update sample.json * Removed common headers from sample source
1 parent 751143f commit 09c74d7

File tree

7 files changed

+9
-23827
lines changed

7 files changed

+9
-23827
lines changed

DirectProgramming/DPC++/CombinationalLogic/sepia-filter/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Perform the following steps:
5252
### On a Windows* System Using Visual Studio* version 2017 or Newer
5353

5454
* Build the program using VS2017 or VS2019: Right click on the solution file and open using either VS2017 or VS2019 IDE. Right click on the project in Solution explorer and select Rebuild. From top menu select Debug -> Start without Debugging.
55-
* Build the program using MSBuild: Open "x64 Native Tools Command Prompt for VS2017" or "x64 Native Tools Command Prompt for VS2019". Run - MSBuild mandelbrot.sln /t:Rebuild /p:Configuration="Release"
55+
* Build the program using MSBuild: Open "x64 Native Tools Command Prompt for VS2017" or "x64 Native Tools Command Prompt for VS2019". Run - MSBuild sepia-filter.sln /t:Rebuild /p:Configuration="Release"
5656

5757

5858
## Running the sample

DirectProgramming/DPC++/CombinationalLogic/sepia-filter/sepia-filter.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<ProjectGuid>{d2dbaafa-24e1-4ec9-ae71-1ef6a3bd67fc}</ProjectGuid>
1616
<Keyword>Win32Proj</Keyword>
1717
<RootNamespace>sepia_filter</RootNamespace>
18-
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
18+
<WindowsTargetPlatformVersion>$(WindowsSDKVersion.Replace("\",""))</WindowsTargetPlatformVersion>
1919
</PropertyGroup>
2020
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2121
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">

DirectProgramming/DPC++/CombinationalLogic/sepia-filter/src/dpc_common.hpp

Lines changed: 0 additions & 46 deletions
This file was deleted.

DirectProgramming/DPC++/CombinationalLogic/sepia-filter/src/sepia_dpcpp.cpp

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,17 @@
88
#include <iostream>
99
#include "CL/sycl.hpp"
1010
#include "device_selector.hpp"
11+
12+
// dpc_common.hpp can be found in the dev-utilities include folder.
13+
// e.g., $ONEAPI_ROOT/dev-utilities/<version>/include/dpc_common.hpp
1114
#include "dpc_common.hpp"
1215

16+
// stb/*.h files can be found in the dev-utilities include folder.
17+
// e.g., $ONEAPI_ROOT/dev-utilities/<version>/include/stb/*.h
1318
#define STB_IMAGE_IMPLEMENTATION
14-
#include "../stb/stb_image.h"
19+
#include "stb/stb_image.h"
1520
#define STB_IMAGE_WRITE_IMPLEMENTATION
16-
#include "../stb/stb_image_write.h"
21+
#include "stb/stb_image_write.h"
1722

1823
using namespace std;
1924
using namespace sycl;

0 commit comments

Comments
 (0)