Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HPX support #473

Open
wants to merge 157 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
157 commits
Select commit Hold shift + click to select a range
8667212
several fixes
Feb 3, 2023
4279897
fixed success CI task
svenwoop Mar 8, 2023
bccec3f
turning EMBREE_LEVEL_ZERO on in one CI test
svenwoop Mar 10, 2023
7da36c4
added arm emulation testing to nightly (#2520)
dopitz Mar 10, 2023
ece6335
Use all models from repo
tpyra Mar 10, 2023
9166e2e
Minor fixes to performance CI (#2525)
tpyra Mar 13, 2023
cb9c871
added EMBREE_ISA_NEON2X to embree-config.cmake (#2526)
dopitz Mar 14, 2023
b869cb4
added arm support to changelog and doc (#2524)
dopitz Mar 14, 2023
5880151
introduced triangle format, quad format, and vertex format in ze_rayt…
svenwoop Mar 8, 2023
eb32547
removed rthwifGetSupportedFeatures from ze_raytracing build API
svenwoop Mar 8, 2023
f604f2d
added stype and pNext to ze_raytracing build API implementation descr…
svenwoop Mar 9, 2023
7d171e1
implemented build flag to skip duplicate any hit shader invokation
svenwoop Mar 9, 2023
2703930
implemented zeRaytracingAccelFormatCompatibilityExt in ze_raytracing …
svenwoop Mar 9, 2023
f221efd
fixed interface of some ze_raytracing API functions
svenwoop Mar 15, 2023
bba874e
all names of ze_raytracing build API implementation match spec
svenwoop Mar 15, 2023
d14c565
ci: update gfx-driver internal to ci-neo-025905
kraszkow Mar 15, 2023
7a2a3fa
properly destroying parallel build operations
svenwoop Mar 16, 2023
1b9aa70
updates to compile ze_raytracing builder in isolation in separate rep…
svenwoop Mar 16, 2023
5298842
fixed success job
svenwoop Mar 16, 2023
864ecf4
build a deliverable testing package (#2532)
dopitz Mar 29, 2023
ba2f591
fixed issue that caused allocation of RTDispatchGlobals by default
svenwoop Mar 30, 2023
04a7a2a
using proper RT allocation function to allocate RTDispatchGlobals
svenwoop Mar 31, 2023
8092c0d
fix tarball package unpacks into single folder (#2535)
dopitz Apr 5, 2023
b9221ca
fix config error in generated embree-addtest.cmake (#2536)
dopitz Apr 14, 2023
4450418
update dpcpp to 20230417 and fix deprecation warnings
freibold Apr 18, 2023
0fb15b6
do not use exception mechanism for BVH build retry due to TBB 2020.3
freibold Apr 18, 2023
33f8ac4
Added EMBREE_BACKFACE_CULLING_SPHERES option
stefanatwork Apr 14, 2023
686d953
* Added CMake options for sphere and curve backface culling
stefanatwork Apr 17, 2023
f21a990
using L0 ray tracing API to build acceleration structure for cornell_…
svenwoop Apr 24, 2023
4798eda
introduced rtas builder concept to L0 ray tracing API
svenwoop Apr 24, 2023
6b52e28
adopted build and size query functions of L0 ray tracing build API
svenwoop Apr 24, 2023
62226c3
removed not required update of build arguments
svenwoop Apr 25, 2023
119e5ed
adjusted property query for parallel operation object in L0 ray traci…
svenwoop Apr 25, 2023
6a33c14
implemented rtas device properties query for L0 ray tracing build API
svenwoop Apr 25, 2023
c289ce5
adjusted Level Zero ray tracing Build API function names to match spec
svenwoop Apr 25, 2023
3971cba
adjusted Level Zero ray tracing Build API struct member names to matc…
svenwoop Apr 25, 2023
e3d581e
adding flags to rtas builder properties
svenwoop Apr 26, 2023
3fd5e8f
returning proper error codes in rtas builder
svenwoop Apr 26, 2023
7839837
renamed rtbuild and rttrace API header files
svenwoop Apr 26, 2023
1f17217
only including rttrace.h
svenwoop Apr 26, 2023
775f10b
cleanups to cornell_box rtas build example
svenwoop Apr 26, 2023
9b06766
Do/remove macosx embree tag (#2543)
dopitz Apr 26, 2023
b16e4be
removing ze_raytracing CI tests
svenwoop Apr 27, 2023
0f6a668
using standard Level Zero results in Level Zero rtas build API
svenwoop Apr 27, 2023
2d4b773
using argument structure in bounds callback for Level Zero ray tracin…
svenwoop Apr 27, 2023
326d1c0
updates to compile Level Zero ray tracing builder API to match spec
svenwoop Apr 27, 2023
3c23e7e
adding Level Zero rtas header from spec
svenwoop Apr 27, 2023
50d2a61
properly checking for stype of builder properties and descriptor
svenwoop Apr 28, 2023
33a7887
returning ZE_RESULT_ERROR_INVALID_ENUMERATION error when stype is not…
svenwoop Apr 28, 2023
13cbef5
- changed version to 4.1.0
svenwoop May 3, 2023
b0499a4
using proper ZE_STRUCTURE_TYPE_RAYTRACING_MEM_ALLOC_EXT_DESC stype fo…
svenwoop May 3, 2023
cc29d2c
checking if rtas allocation is in 48 bit address range
svenwoop May 3, 2023
3153139
updated to latest L0 rtas build API spec
svenwoop May 3, 2023
d7d0383
making ze_rtas_builder_geometry_exp_flag_t opaque by default
svenwoop May 3, 2023
959ee31
make EMBREE_NO_SPLASH a proper CMake option.
freibold May 3, 2023
378f2f0
adding always_inline for Embree SYCL API functions
svenwoop May 9, 2023
05ae8c4
changed package filenames (#2550)
tpyra May 9, 2023
5b29a8b
Do/release (#2551)
dopitz May 10, 2023
d756352
rebase release branch into devel (#2553)
dopitz May 11, 2023
9a04f54
Do/release (#2554)
dopitz May 11, 2023
cc22661
L0 ray tracing support tests can use rtcore SW simulation
svenwoop May 4, 2023
5ff0aaf
limiting triangle pair primID delta to 5 bits
svenwoop May 4, 2023
f83f2fc
prepared L0 rtas builder to support multiple rtas formats
svenwoop May 4, 2023
44b9dea
checking that number of geometries is in range
svenwoop May 9, 2023
244e385
removed zeRTASInitExp/zeRTASExitExp functions
svenwoop May 10, 2023
0bd483e
using ZE_RESULT_EXP_ERROR_RETRY_RTAS_BUILD error code to re-try rtas …
svenwoop May 15, 2023
33d2abb
replace insecure fopen with secure std::ifstream (#2557)
dopitz May 16, 2023
1c99e92
Do/fix fopen (#2558)
dopitz May 16, 2023
81417ab
added filter files for test execution (#2541)
dopitz May 17, 2023
62cd7b3
adding Impl to RTAS builder to have separate symbols to API function …
svenwoop May 22, 2023
74742dc
Do/integration (#2562)
dopitz May 23, 2023
62766a2
load ze_loader library during runtime with dlopen/LoadLibrary. Remove
freibold May 23, 2023
0265075
fix rthwif tests for test package (#2567)
kraszkow May 30, 2023
f8df5ae
fixing experimental disable of deviceID check
svenwoop May 30, 2023
8d9fea3
adding MTL support
svenwoop May 31, 2023
e7718d6
fix rthwif tests with new level zero runtime loading change.
freibold May 31, 2023
7a8678b
init ZeWrapper in rthwif tests.
freibold May 31, 2023
0309da8
using decltype to get function types in ze_wrapper
svenwoop May 31, 2023
07ae638
moving ze_rtas.h to level_zero folder
svenwoop May 31, 2023
f5cb3ff
adding RTASBuilder support to ze_wrapper
svenwoop Jun 1, 2023
646bbf5
- using new rtas API header
svenwoop Jun 1, 2023
d75dab7
using zeDeviceGetProperties to query RTAS device properties
svenwoop Jun 1, 2023
34e2770
Improved BVH build performance on many core machines by avoiding spin…
svenwoop May 24, 2023
5f94281
New model repository address (#2575)
tpyra Jun 5, 2023
6a3ad6e
fix to get dispatch globals allocation working again for debugging pu…
svenwoop Jun 5, 2023
ae9ab7e
passing dispatch globals for through debug RTAS build API extension
svenwoop Jun 12, 2023
de4c2ac
Do/release test package (#2579)
dopitz Jun 13, 2023
523c13d
Do/fix release package name sycl (#2583)
dopitz Jun 15, 2023
7e9e319
Added CI feature to store results in database (#2584)
tpyra Jun 15, 2023
cc04821
Added rtcGetGeometryTransformFromScene API function that can get used…
svenwoop Jun 15, 2023
73e94ce
clarified that rtcOccluded and occlusion filter cannot get used to ga…
svenwoop Jun 19, 2023
39258c5
Added PVC runner to perf CI (#2588)
tpyra Jun 20, 2023
dd39f11
updated changelog
svenwoop Jun 21, 2023
77cecda
SYCL version of Embree with GPU support is no longer in beta phase.
svenwoop Jun 21, 2023
dc66f70
setting version to 4.2.0
svenwoop Jun 21, 2023
8b3120e
removed extra comma (#2591)
tpyra Jun 21, 2023
4252dc8
fix typo (#2592)
dopitz Jun 22, 2023
6b67cef
Do/release (#2597)
dopitz Jun 30, 2023
af29815
Do/release (#2601)
dopitz Jul 4, 2023
68a0fb8
checking ze_rtas_builder_procedural_geometry_info_exp_t reserved memb…
svenwoop Jul 4, 2023
1bdc285
adding check if rtas extension present and properly initialized
svenwoop Jul 13, 2023
9c1c335
fix imgui empty label complaint on Windows
freibold Jul 12, 2023
bcb51a8
add memory monitor to GPU BVH build
freibold Jul 13, 2023
33074fe
Do/update driver (#2607)
dopitz Jul 18, 2023
f6dad7c
added configuration to run rtas builder tests using internal or level…
svenwoop Jul 19, 2023
e69f52b
Add support for ARM64 windows platform cmake
anthony-linaro Jul 19, 2023
fb6c562
matching rcp math between rthwif_test and BVH builder
svenwoop Jul 19, 2023
038ae14
implemented varying version of rtcGetGeometryTransform for ISPC
svenwoop Jul 20, 2023
a6acf29
using L0 RTAS build extension only when available
svenwoop Jul 21, 2023
29f96e1
rthwif tests use RTAS build extension only when available
svenwoop Jul 24, 2023
8c4c530
- updating to dpcpp compiler sycl-nightly/20230724
svenwoop Jul 25, 2023
eeb4834
fixed sub_group related compile warning
svenwoop Jul 25, 2023
e5ac939
cleanups to sycl namespace usage
svenwoop Jul 25, 2023
ec04c51
docker GPU image for perf CI to embree/ubuntu:22.04 (#2615)
tpyra Jul 26, 2023
3c4b936
CI-perf sycl build on Ubuntu 22.04 (#2617)
tpyra Jul 26, 2023
a7782ef
use DPCPP_SETUP_SCRIPT environment variable in test.py script
freibold Jul 31, 2023
b1f1d8e
updated graphics drivers in CI
svenwoop Jul 31, 2023
63d433e
Revert "use DPCPP_SETUP_SCRIPT environment variable in test.py script"
svenwoop Aug 1, 2023
2768271
consistently using main version of reusable workflow
svenwoop Aug 1, 2023
456c8b3
do not source dpcpp environment manually
freibold Aug 3, 2023
7e7877b
use ubuntu 20.04 for release again and update release driver
freibold Aug 3, 2023
79f1141
Do/update compiler cmakepreset (#2621)
dopitz Aug 14, 2023
e8c1b94
remove using sycl::fmax and using sycl::fmin
freibold Aug 30, 2023
18bd626
update to intel-llvm 20230830
freibold Aug 30, 2023
77873cb
do not sign the zip package after build for windows any more (#2624)
dopitz Aug 31, 2023
ea3aa94
cherry pick from carlocab (#2623)
dopitz Aug 31, 2023
8cc689e
fixed deviceID check for PVC
svenwoop Aug 31, 2023
ed56a60
removed unused file
svenwoop Aug 31, 2023
67a5584
not using rtas_builder extension by default yet
svenwoop Sep 6, 2023
81d04cf
not using rtas_builder extension by default in rthwif tests
svenwoop Sep 7, 2023
7a28f06
properly checking if rtas extension can get loaded
svenwoop Sep 7, 2023
fe31059
added cmake option to enable usage of L0 rtas builder
svenwoop Sep 7, 2023
7d55d75
disabling L0 rtas builder only for release
svenwoop Sep 7, 2023
58212ad
disabling L0 RTAS builder by default
svenwoop Sep 12, 2023
e194380
integration of coverity
dopitz Sep 13, 2023
9e821ab
added argument to set resolution support for cornell_box test
svenwoop Sep 15, 2023
d14fed9
validating that rtasFormat is not ZE_RTAS_FORMAT_EXP_INVALID
svenwoop Sep 15, 2023
7deef5d
WA for changed sycl include headers in oneAPI DPC++ 2024.0
freibold Sep 21, 2023
37ca584
add ICX release candidate tests
freibold Sep 21, 2023
7220e84
Update changelog.md
freibold Sep 15, 2023
2ded3b4
add tests for sycl-nightly RK version
freibold Sep 22, 2023
2faa8dd
disable nightly bezier_round furball tests on 2 windows configs for now
dopitz Sep 25, 2023
e1d0051
add instance array geometry type.
freibold May 29, 2023
6ed2106
update compilation docu and version number
freibold Sep 26, 2023
ec3ab17
use rockylinux for release and split linux sycl
freibold Sep 26, 2023
3606b69
update documentation
freibold Sep 26, 2023
8187f71
add pi_win_proxy_loader.dll to release package
freibold Sep 26, 2023
502e7d5
add also weird libsycl.so version (libsycl.so.7.0.0-8 ?!?!?)
freibold Sep 26, 2023
203232c
add old include/lib directory structure for ICX 2024, too.
freibold Sep 27, 2023
03bbc7b
updates
freibold Sep 27, 2023
49a0114
rebase
ct-clmsn Jan 23, 2024
824051c
completed hpx port
ct-clmsn Jan 23, 2024
3277f16
improved hpx parallel_for use
ct-clmsn Jan 23, 2024
86acf6b
Merge branch 'master' into hpx
ct-clmsn Jan 23, 2024
4467c25
added license
ct-clmsn Jan 24, 2024
ffc0479
upated readme
ct-clmsn Jan 24, 2024
e9389f8
several fixes for linking error
ct-clmsn Jan 27, 2024
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
Prev Previous commit
Next Next commit
fixed issue that caused allocation of RTDispatchGlobals by default
  • Loading branch information
svenwoop authored and ct-clmsn committed Jan 23, 2024
commit ba2f59141c15c541a3136a8b3fbb821201226aa7
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ IF (EMBREE_SYCL_RT_VALIDATION_API)
ENDIF()

CMAKE_DEPENDENT_OPTION(EMBREE_SYCL_IMPLICIT_DISPATCH_GLOBALS "Using L0 allocated Dispatch Globals" ON "EMBREE_SYCL_RT_VALIDATION_API" OFF)
IF (NOT EMBREE_SYCL_IMPLICIT_DISPATCH_GLOBALS)
IF (EMBREE_SYCL_RT_VALIDATION_API AND NOT EMBREE_SYCL_IMPLICIT_DISPATCH_GLOBALS)
ADD_DEFINITIONS("-DEMBREE_SYCL_ALLOC_DISPATCH_GLOBALS")
ENDIF()

Expand Down
4 changes: 2 additions & 2 deletions kernels/rthwif/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ ELSE()
option(EMBREE_BUILDER_TBB_STATIC "Use a staticaly compiled TBB version for the Embree builder for GPU." OFF)
ENDIF()

IF (NOT EMBREE_SYCL_IMPLICIT_DISPATCH_GLOBALS)
ADD_DEFINITIONS("-DEMBREE_SYCL_ALLOC_DISPATCH_GLOBALS")
IF (EMBREE_SYCL_RT_VALIDATION_API AND NOT EMBREE_SYCL_IMPLICIT_DISPATCH_GLOBALS)
ADD_DEFINITIONS("-DEMBREE_SYCL_ALLOC_DISPATCH_GLOBALS")
ENDIF()

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-bitwise-instead-of-logical") # disables "use of bitwise '&' with boolean operands" warning
Expand Down
10 changes: 5 additions & 5 deletions kernels/rthwif/testing/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ IF (NOT DEFINED EMBREE_SYCL_IMPLICIT_DISPATCH_GLOBALS)
OPTION(EMBREE_SYCL_IMPLICIT_DISPATCH_GLOBALS "Using L0 allocated Dispatch Globals" ON)
ENDIF()

IF (NOT EMBREE_SYCL_IMPLICIT_DISPATCH_GLOBALS)
ADD_DEFINITIONS("-DEMBREE_SYCL_ALLOC_DISPATCH_GLOBALS")
ENDIF()

IF (NOT DEFINED EMBREE_SYCL_RT_VALIDATION_API)
OPTION(EMBREE_SYCL_RT_VALIDATION_API "Use rt_validation API instead of IGC provided rt_production API" OFF)
ENDIF()
Expand All @@ -26,6 +22,10 @@ IF (EMBREE_SYCL_RT_VALIDATION_API)
ADD_DEFINITIONS("-DEMBREE_SYCL_RT_VALIDATION_API")
ENDIF()

IF (EMBREE_SYCL_RT_VALIDATION_API AND NOT EMBREE_SYCL_IMPLICIT_DISPATCH_GLOBALS)
ADD_DEFINITIONS("-DEMBREE_SYCL_ALLOC_DISPATCH_GLOBALS")
ENDIF()

IF (EMBREE_SYCL_RT_SIMULATION)
SET(RT_SIM_LIBRARY rtcore)
ENDIF()
Expand Down Expand Up @@ -82,4 +82,4 @@ ADD_TEST(NAME rthwif_test_swinstancing_triangles_committed_hit COMMAND em
ADD_TEST(NAME rthwif_test_swinstancing_triangles_potential_hit COMMAND embree_rthwif_test --sw-instancing --triangles-potential-hit)
ADD_TEST(NAME rthwif_test_swinstancing_triangles_anyhit_shader_commit COMMAND embree_rthwif_test --sw-instancing --triangles-anyhit-shader-commit)
ADD_TEST(NAME rthwif_test_swinstancing_triangles_anyhit_shader_reject COMMAND embree_rthwif_test --sw-instancing --triangles-anyhit-shader-reject)
ADD_TEST(NAME rthwif_test_swinstancing_procedurals_committed_hit COMMAND embree_rthwif_test --sw-instancing --procedurals-committed-hit)
ADD_TEST(NAME rthwif_test_swinstancing_procedurals_committed_hit COMMAND embree_rthwif_test --sw-instancing --procedurals-committed-hit)
4 changes: 4 additions & 0 deletions kernels/rthwif/testing/rthwif_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2102,7 +2102,9 @@ int main(int argc, char* argv[])
sycl::queue queue = sycl::queue(device,exception_handler);
context = queue.get_context();

#if defined(EMBREE_SYCL_ALLOC_DISPATCH_GLOBALS)
dispatchGlobalsPtr = allocDispatchGlobals(device,context);
#endif

/* execute test */
RandomSampler_init(rng,0x56FE238A);
Expand All @@ -2123,7 +2125,9 @@ int main(int argc, char* argv[])
if (err != ZE_RESULT_SUCCESS_)
throw std::runtime_error("parallel operation destruction failed");

#if defined(EMBREE_SYCL_ALLOC_DISPATCH_GLOBALS)
sycl::free(dispatchGlobalsPtr, context);
#endif

zeRaytracingExitExt();

Expand Down