-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aed4495
commit 1b00711
Showing
9 changed files
with
1,340 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
pennylane_lightning/core/src/simulators/lightning_tensor/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
cmake_minimum_required(VERSION 3.21) | ||
set(LOGO [=[ | ||
░█░░░▀█▀░█▀▀░█░█░▀█▀░█▀█░▀█▀░█▀█░█▀▀░░░░█▀▀░█▀█░█░█ | ||
░█░░░░█░░█░█░█▀█░░█░░█░█░░█░░█░█░█░█░░░░█░█░█▀▀░█░█ | ||
░▀▀▀░▀▀▀░▀▀▀░▀░▀░░▀░░▀░▀░▀▀▀░▀░▀░▀▀▀░▀░░▀▀▀░▀░░░▀▀▀ | ||
]=]) | ||
message(${LOGO}) | ||
|
||
project(${PL_BACKEND} | ||
DESCRIPTION "Lightning-Tensor bindings for PennyLane. Backed by NVIDIA cuQuantum SDK." | ||
LANGUAGES CXX C CUDA | ||
) | ||
|
||
include("${pennylane_lightning_SOURCE_DIR}/cmake/support_pllgpu.cmake") | ||
findCUDATK(lightning_external_libs) | ||
findCutensornet(lightning_external_libs) | ||
|
||
target_compile_options(lightning_compile_options INTERFACE "-D_ENABLE_PLTENSOR=1") | ||
|
||
|
||
######################### | ||
## Set Default Options ## | ||
######################### | ||
|
||
add_executable(test_tensor_explore test.cpp) | ||
|
||
target_link_libraries(test_tensor_explore PRIVATE lightning_utils lightning_compile_options lightning_external_libs) |
Oops, something went wrong.