You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug summary
When I run this code from the codeplay demo, it fails on first run. The second time it runs fine.
To Reproduce
Steps to reproduce the behavior.
If possible, provide a minimal reproducer. The shorter the reproducing code snippet is, the easier will it be for us to debug and understand the issue.
$ ./a.out
'+ptx89' is not a recognized feature for this target (ignoring feature)
'+ptx89' is not a recognized feature for this target (ignoring feature)
'+ptx89' is not a recognized feature for this target (ignoring feature)
[AdaptiveCpp Warning] kernel_cache: This application run has resulted in new binaries being JIT-compiled. This indicates that the runtime optimization process has not yet reached peak performance. You may want to run the application again until this warning no longer appears to achieve optimal performance.
'+ptx89' is not a recognized feature for this target (ignoring feature)
'+ptx89' is not a recognized feature for this target (ignoring feature)
'+ptx89' is not a recognized feature for this target (ignoring feature)
'+ptx89' is not a recognized feature for this target (ignoring feature)
'+ptx89' is not a recognized feature for this target (ignoring feature)
'+ptx89' is not a recognized feature for this target (ignoring feature)
'+ptx89' is not a recognized feature for this target (ignoring feature)
'+ptx89' is not a recognized feature for this target (ignoring feature)
'+ptx89' is not a recognized feature for this target (ignoring feature)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.out is a Catch v2.13.10 host application.
Run with -? for options
-------------------------------------------------------------------------------
usm_in_order_queue
-------------------------------------------------------------------------------
solution.cpp:100
...............................................................................
solution.cpp:100: FAILED:
due to a fatal error condition:
SIGSEGV - Segmentation violation signal
===============================================================================
test cases: 2 | 1 passed | 1 failed
assertions: 1025 | 1024 passed | 1 failed
Segmentation fault (core dumped)
The second time it runs fine. Also if you use the flag ACPP_ADAPTIVITY_LEVEL=0 ./a.out it works
Expected behavior
A clear and concise description of what you expected to happen.
this is the output I get the second time (successful)
$ ./a.out
'+ptx89' is not a recognized feature for this target (ignoring feature)
'+ptx89' is not a recognized feature for this target (ignoring feature)
'+ptx89' is not a recognized feature for this target (ignoring feature)
[AdaptiveCpp Warning] kernel_cache: This application run has resulted in new binaries being JIT-compiled. This indicates that the runtime optimization process has not yet reached peak performance. You may want to run the application again until this warning no longer appears to achieve optimal performance.
'+ptx89' is not a recognized feature for this target (ignoring feature)
'+ptx89' is not a recognized feature for this target (ignoring feature)
'+ptx89' is not a recognized feature for this target (ignoring feature)
'+ptx89' is not a recognized feature for this target (ignoring feature)
'+ptx89' is not a recognized feature for this target (ignoring feature)
'+ptx89' is not a recognized feature for this target (ignoring feature)
'+ptx89' is not a recognized feature for this target (ignoring feature)
'+ptx89' is not a recognized feature for this target (ignoring feature)
'+ptx89' is not a recognized feature for this target (ignoring feature)
===============================================================================
All tests passed (2048 assertions in 2 test cases)
Describe your setup
how you have installed AdaptiveCpp, and which version/branch/git commit
Describe the dependencies that AdaptiveCpp sits on top of in your setup:
clang version and how clang was installed
host compiler
CUDA version (if applicable)
ROCm version and how ROCm was installed (if applicable)
How you have compiled your application and which arguments you have passed to acpp. In particular, which backends and hardware you have compiled for.
Optional additional diagnostic information
The following information can potentially help us:
For compilation/toolchain or setup-related issues: Setting the environment variable HIPSYCL_DRYRUN=1 during compilation will cause syclcc to print the commands it would execute instead of actually executing. This can help verify the sanity of your setup.
syclcc --hipsycl-version prints information about the AdaptiveCpp configuration that may be interesting for setup-related issues.
For issues related to the runtime, setting the environment variable ACPP_DEBUG_LEVEL=3 will cause it to print a lot of diagnostic information that might be helpful. Attach the output of your program with ACPP_DEBUG_LEVEL=3 if you think it might be helpful for your issue.
Recent AdaptiveCpp versions include a tool called acpp-info, which will print information about available backends and devices. This may be interesting for issues related to e.g. device visibility.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
(This was discovered together with me at the SYCL tutorial at ISC and is most likely related to adaptivity level=1 optimizations, perhaps kernel configuration object lifetime)
Bug summary
When I run this code from the codeplay demo, it fails on first run. The second time it runs fine.
To Reproduce
Steps to reproduce the behavior.
If possible, provide a minimal reproducer. The shorter the reproducing code snippet is, the easier will it be for us to debug and understand the issue.
clone and compile:
run:
Error I get
The second time it runs fine. Also if you use the flag
ACPP_ADAPTIVITY_LEVEL=0 ./a.out
it worksExpected behavior
A clear and concise description of what you expected to happen.
this is the output I get the second time (successful)
Describe your setup
acpp
. In particular, which backends and hardware you have compiled for.Optional additional diagnostic information
The following information can potentially help us:
HIPSYCL_DRYRUN=1
during compilation will causesyclcc
to print the commands it would execute instead of actually executing. This can help verify the sanity of your setup.syclcc --hipsycl-version
prints information about the AdaptiveCpp configuration that may be interesting for setup-related issues.ACPP_DEBUG_LEVEL=3
will cause it to print a lot of diagnostic information that might be helpful. Attach the output of your program withACPP_DEBUG_LEVEL=3
if you think it might be helpful for your issue.acpp-info
, which will print information about available backends and devices. This may be interesting for issues related to e.g. device visibility.Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: