Skip to content

Setting env variable DOTNET_EnableWriteXorExecute#2521

Merged
bmhowe23 merged 15 commits intoNVIDIA:test_seg_faultfrom
sacpis:test_seg_fault
Jan 23, 2025
Merged

Setting env variable DOTNET_EnableWriteXorExecute#2521
bmhowe23 merged 15 commits intoNVIDIA:test_seg_faultfrom
sacpis:test_seg_fault

Conversation

@sacpis
Copy link
Collaborator

@sacpis sacpis commented Jan 20, 2025

Setting env variable DOTNET_EnableWriteXorExecute as found out by @bmhowe23.

1tnguyen and others added 11 commits January 15, 2025 11:05
* Docs for trajectory simulation

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>

* Fix spelling and code format

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>

* Update mgpu hash: include fixes for 2434

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>

* Update docs/sphinx/snippets/cpp/using/backends/trajectory.cpp

Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
Signed-off-by: Thien Nguyen <58006629+1tnguyen@users.noreply.github.com>

* Update docs/sphinx/snippets/cpp/using/backends/trajectory.cpp

Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
Signed-off-by: Thien Nguyen <58006629+1tnguyen@users.noreply.github.com>

* Update docs/sphinx/snippets/cpp/using/backends/trajectory_observe.cpp

Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
Signed-off-by: Thien Nguyen <58006629+1tnguyen@users.noreply.github.com>

* Update docs/sphinx/snippets/cpp/using/backends/trajectory_observe.cpp

Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
Signed-off-by: Thien Nguyen <58006629+1tnguyen@users.noreply.github.com>

* Update python/cudaq/runtime/observe.py

Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
Signed-off-by: Thien Nguyen <58006629+1tnguyen@users.noreply.github.com>

---------

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
Signed-off-by: Thien Nguyen <58006629+1tnguyen@users.noreply.github.com>
Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
For small controlled ops, i.e., singly controlled, expand the gate
matrix and use cutensornetStateApplyTensorOperator.

Add CUDAQ_TENSORNET_CONTROLLED_RANK threshold to determine when cutensornetStateApplyControlledTensorOperator is used.
For MPS, this is fixed at 1 as it cannot handle gate ops with more than
2 qubits.

Add doc for the setting and also remove some stale notes about random
seeds in the docs.

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
…de (NVIDIA#2516)

* Fix a bug in default init of scratchpad: it must allocate memory after we've set the device

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>

* Add test

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>

* Add a check to prevent multiple allocate calls

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>

---------

Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
Signed-off-by: Pradnya Khalate <pkhalate@nvidia.com>
Signed-off-by: Sachin Pisal <spisal@nvidia.com>
Signed-off-by: Sachin Pisal <spisal@nvidia.com>
Signed-off-by: Sachin Pisal <spisal@nvidia.com>
Signed-off-by: Sachin Pisal <spisal@nvidia.com>
Signed-off-by: Sachin Pisal <spisal@nvidia.com>
github-actions bot pushed a commit that referenced this pull request Jan 20, 2025
@sacpis sacpis marked this pull request as ready for review January 20, 2025 21:32
@bmhowe23 bmhowe23 merged commit 1c38920 into NVIDIA:test_seg_fault Jan 23, 2025
38 of 39 checks passed
github-actions bot pushed a commit that referenced this pull request Jan 23, 2025
github-actions bot pushed a commit that referenced this pull request Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants