Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
88557f4
Initial Commit to Open Source Repo
Alberto-Villarreal Jul 14, 2020
5ec7f2b
Adding additional inlclude directories to VS project file
Alberto-Villarreal Jul 14, 2020
0342133
Adding statement about dpc_common file and where to find them in READ…
Alberto-Villarreal Jul 16, 2020
88b994d
Adding statement about dpc_common file and where to find them in READ…
Alberto-Villarreal Jul 16, 2020
1bc0350
Adding statement about dpc_common file and where to find them in READ…
Alberto-Villarreal Jul 16, 2020
7e37fcf
Adding statement about dpc_common file and where to find them in READ…
Alberto-Villarreal Jul 16, 2020
0e08ef7
Adding statement about dpc_common file and where to find them in READ…
Alberto-Villarreal Jul 16, 2020
24033ee
Adding particle-diffusion directory
Alberto-Villarreal Jul 20, 2020
f3a6a86
Adding particle-diffusion directory
Alberto-Villarreal Jul 20, 2020
a6e92d3
Fix copyright -> 2020
Alberto-Villarreal Jul 21, 2020
fcf4462
Fixing MKL missing header file
Alberto-Villarreal Jul 21, 2020
74aae39
Fixing MKL missing header file - try 2
Alberto-Villarreal Jul 21, 2020
c121341
Add the common includes directory to VS project file
Alberto-Villarreal Jul 23, 2020
3358264
Merge branch 'master' into master
anjgola Jul 24, 2020
bbf202e
Fix copyright and time units
Aug 16, 2020
d2840e3
Removing unused header file chrono
Aug 17, 2020
4150f95
Adding path for dpc_common header file for Linux
Aug 17, 2020
36ef523
Adding path for dpc_common header file for Linux and removing warning
Aug 17, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2020 Intel Corporation
Copyright Intel Corporation

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
17 changes: 4 additions & 13 deletions DirectProgramming/DPC++/StructuredGrids/iso2dfd_dpcpp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,12 @@ global ID variable) for a single time step.

This code sample is licensed under MIT license.


## Building the `iso2dfd` Program for CPU and GPU

### Include Files

The include folder is located at %ONEAPI_ROOT%\dev-utilities\latest\include on your development system.

### Running Samples In DevCloud

If running a sample in the Intel DevCloud, remember that you must specify the compute node (CPU, GPU,
Expand Down Expand Up @@ -92,18 +95,6 @@ Perform the following steps:
Right click on the project in Solution explorer and select Rebuild.
From top menu select Debug -> Start without Debugging.

>If you see the following error message when compiling this sample:
>
```
Error 'dpc_common.hpp' file not found
```
>You need to add the following directory to the list of include folders, that are required by your project, in your project's Visual Studio project property panel. The missing include folder is located at `%ONEAPI_ROOT%\dev-utilities\latest\include` on your development system.

* Build the program using MSBuild
Open "x64 Native Tools Command Prompt for VS2017" or "x64 Native Tools Command Prompt for VS2019"
Run - MSBuild iso2dfd.sln /t:Rebuild /p:Configuration="Release"


## Running the Sample
### Application Parameters

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
#include <fstream>
#include <iostream>
#include <CL/sycl.hpp>
#include <chrono>
#include <cmath>
#include <cstring>
#include <stdio.h>
Expand Down Expand Up @@ -327,7 +326,7 @@ int main(int argc, char* argv[]) {
// Compute and display time used by device
auto time = t_offload.Elapsed();

cout << "Offload time: " << time << " ms\n\n";
cout << "Offload time: " << time << " s\n\n";

// Output final wavefield (computed by device) to binary file
ofstream out_file;
Expand All @@ -351,7 +350,7 @@ int main(int argc, char* argv[]) {
// Compute and display time used by CPU
time = t_cpu.Elapsed();

cout << "CPU time: " << time << " ms\n\n";
cout << "CPU time: " << time << " s\n\n";

// Compute error (difference between final wavefields computed in device and
// CPU)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2020 Intel Corporation
Copyright Intel Corporation

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -104,18 +104,6 @@ Perform the following steps:
Right click on the project in Solution explorer and select Rebuild
From top menu select Debug -> Start without Debugging

>If you see the following error message when compiling this sample:
>
```
Error 'dpc_common.hpp' file not found
```
>You need to add the following directory to the list of include folders, that are required by your project, in your project's Visual Studio project property panel. The missing include folder is located at `%ONEAPI_ROOT%\dev-utilities\latest\include` on your development system.

* Build the program using MSBuild
Open "x64 Native Tools Command Prompt for VS2017" or "x64 Native Tools Command Prompt for VS2019"
Run - MSBuild Particle_Diffusion.sln /t:Rebuild /p:Configuration="Release"


## Running the Sample

### Application Parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
//

#include <mkl.h>
#include <chrono>
#include <cmath>
#include <iomanip>
#include <iostream>
Expand Down