Skip to content

Commit

Permalink
Expanded description of DPCTL_OFFLOAD_COMPRESS option
Browse files Browse the repository at this point in the history
```
$ cmake . -LAH -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx | grep -a2 DPCTL_OFFLOAD_COMPRESS

// Build using offload section compression feature of DPC++ to reduce size of shared object with offloading sections
DPCTL_OFFLOAD_COMPRESS:BOOL=OFF

// Build DPCTL to target CUDA devices
```
  • Loading branch information
oleksandr-pavlyk committed Jan 14, 2025
1 parent 06c5cd4 commit 8b7a79b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,16 @@ set(DPCTL_TARGET_HIP
CACHE STRING
"Build DPCTL to target a HIP device architecture"
)
option(DPCTL_WITH_REDIST "Build DPCTL assuming DPC++ redistributable is installed into Python prefix" OFF)
option(DPCTL_OFFLOAD_COMPRESS "Build using offload section compression feature of DPC++" OFF)
option(
DPCTL_WITH_REDIST
"Build DPCTL assuming DPC++ redistributable is installed into Python prefix"
OFF)
option(
DPCTL_OFFLOAD_COMPRESS
"Build using offload section compression feature of DPC++ to reduce \
size of shared object with offloading sections"
OFF
)

find_package(IntelSYCL REQUIRED PATHS ${CMAKE_SOURCE_DIR}/cmake NO_DEFAULT_PATH)

Expand Down

0 comments on commit 8b7a79b

Please sign in to comment.