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

[SYCL][Opaque pointer] Remove no opaque CodeGenSYCL tests #10779

Merged
merged 2 commits into from
Aug 24, 2023
Merged

[SYCL][Opaque pointer] Remove no opaque CodeGenSYCL tests #10779

merged 2 commits into from
Aug 24, 2023

Conversation

jsji
Copy link
Contributor

@jsji jsji commented Aug 10, 2023

We have finally switched the default to opaque pointer for SPIRV , so everything should be opaque pointer now.
Most of these no-opaque* test have corresponding opaque pointer test, so I think we can remove them safely.

@jsji jsji requested a review from a team as a code owner August 10, 2023 16:23
@jsji jsji self-assigned this Aug 10, 2023
Copy link
Contributor

@elizabethandrews elizabethandrews left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks ok but I would like @premanandrao to approve as well.

Also is the flag -opaque-pointers/-no-opaque-pointer present in community clang? If it's something we added, should we remove it as well?

@premanandrao
Copy link
Contributor

I think this looks ok but I would like @premanandrao to approve as well.

Also is the flag -opaque-pointers/-no-opaque-pointer present in community clang? If it's something we added, should we remove it as well?

I just want to make sure we have an opaque version of the test for all the non-opaque ones that we are removing.

@jsji
Copy link
Contributor Author

jsji commented Aug 19, 2023

I just want to make sure we have an opaque version of the test for all the non-opaque ones that we are removing.

Only annotations-field.cpp is missing.

[jinsongj@scsel-clx-20 llvm]$ cat op.list|xargs ls
ls: cannot access 'clang/test/CodeGenSYCL/annotations-field.cpp': No such file or directory
clang/test/CodeGenSYCL/accessor_inheritance.cpp                 clang/test/CodeGenSYCL/image_accessor.cpp                     clang/test/CodeGenSYCL/max-concurrency.cpp
clang/test/CodeGenSYCL/add_ir_annotations_member.cpp            clang/test/CodeGenSYCL/inheritance.cpp                        clang/test/CodeGenSYCL/noexcept.cpp
clang/test/CodeGenSYCL/add_ir_annotations_member_filter.cpp     clang/test/CodeGenSYCL/inline_asm.cpp                         clang/test/CodeGenSYCL/non-standard-layout.cpp
clang/test/CodeGenSYCL/add_ir_annotations_member_reuse.cpp      clang/test/CodeGenSYCL/intel-fpga-ivdep-array.cpp             clang/test/CodeGenSYCL/nontrivial_device_copyable.cpp
clang/test/CodeGenSYCL/add_ir_attributes_kernel_parameter.cpp   clang/test/CodeGenSYCL/intel-fpga-ivdep-embedded-loops.cpp    clang/test/CodeGenSYCL/pointers-in-structs.cpp
clang/test/CodeGenSYCL/address-space-builtin-alloca.cpp         clang/test/CodeGenSYCL/intel-fpga-ivdep-global.cpp            clang/test/CodeGenSYCL/regcall-cc-test.cpp
clang/test/CodeGenSYCL/address-space-cond-op.cpp                clang/test/CodeGenSYCL/intel-fpga-local.cpp                   clang/test/CodeGenSYCL/sampler.cpp
clang/test/CodeGenSYCL/address-space-new.cpp                    clang/test/CodeGenSYCL/intel-fpga-mem-builtin.cpp             clang/test/CodeGenSYCL/spir-calling-conv.cpp
clang/test/CodeGenSYCL/address-space-of-returns.cpp             clang/test/CodeGenSYCL/intel-fpga-mem-builtin.cpp             clang/test/CodeGenSYCL/spir-enum.cpp
clang/test/CodeGenSYCL/address-space-parameter-conversions.cpp  clang/test/CodeGenSYCL/intel-fpga-reg.cpp                     clang/test/CodeGenSYCL/stall_enable_device.cpp
clang/test/CodeGenSYCL/basic-kernel-wrapper.cpp                 clang/test/CodeGenSYCL/intel-restrict.cpp                     clang/test/CodeGenSYCL/stream.cpp
clang/test/CodeGenSYCL/check-direct-attribute-propagation.cpp   clang/test/CodeGenSYCL/intel-sycl-ptr-annotation-builtin.cpp  clang/test/CodeGenSYCL/sycl-device-alias.cpp
clang/test/CodeGenSYCL/const-wg-init.cpp                        clang/test/CodeGenSYCL/invoke-function-addrspace.cpp          clang/test/CodeGenSYCL/sycl-host-intelfpga-bitint.cpp
clang/test/CodeGenSYCL/device-functions.cpp                     clang/test/CodeGenSYCL/kernel-arg-accessor-pointer.cpp        clang/test/CodeGenSYCL/sycl-intelfpga-bitint.cpp
clang/test/CodeGenSYCL/device_global.cpp                        clang/test/CodeGenSYCL/kernel_binding_decls.cpp               clang/test/CodeGenSYCL/sycl-intelfpga-field.cpp
clang/test/CodeGenSYCL/device-variables.cpp                     clang/test/CodeGenSYCL/kernel-device-space-arg.cpp            clang/test/CodeGenSYCL/union-kernel-param.cpp
clang/test/CodeGenSYCL/esimd-accessor-ptr-md.cpp                clang/test/CodeGenSYCL/kernel-handler.cpp                     clang/test/CodeGenSYCL/unique-stable-id.cpp
clang/test/CodeGenSYCL/esimd-private-global.cpp                 clang/test/CodeGenSYCL/kernel-param-acc-array.cpp             clang/test/CodeGenSYCL/virtual-types.cpp
clang/test/CodeGenSYCL/fpga_pipes.cpp                           clang/test/CodeGenSYCL/kernel-param-member-acc-array.cpp      clang/test/CodeGenSYCL/wg_init.cpp
clang/test/CodeGenSYCL/generated-types-initialization.cpp       clang/test/CodeGenSYCL/kernel-param-pod-array.cpp

@jsji
Copy link
Contributor Author

jsji commented Aug 19, 2023

@premanandrao All files removed have corresponding opaque pointer ones. Can you have a look again. Thanks.

@jsji jsji requested a review from premanandrao August 21, 2023 13:46
@jsji
Copy link
Contributor Author

jsji commented Aug 21, 2023

Also is the flag -opaque-pointers/-no-opaque-pointer present in community clang? If it's something we added, should we remove it as well?

Community clang has removed these options -opaque-pointers/-no-opaque-pointer. We will remove them later after we Enable INTEL_SYCL_OPAQUEPOINTER_READY , a draft PR contains are here #10888

@jsji
Copy link
Contributor Author

jsji commented Aug 22, 2023

@premanandrao Ping.. Can you have a quick look again? Thanks.

@dm-vodopyanov
Copy link
Contributor

@jsji jsji changed the title Remove no opaque CodeGenSYCL tests [SYCL][Opaque pointer] Remove no opaque CodeGenSYCL tests Aug 22, 2023
@jsji
Copy link
Contributor Author

jsji commented Aug 22, 2023

@jsji please follow https://github.com/intel/llvm/blob/sycl/sycl/doc/developer/ContributeToDPCPP.md#commit-message

Thanks @dm-vodopyanov for reminding. Updated the title, let me know if more changes needed. Thanks.

@jsji
Copy link
Contributor Author

jsji commented Aug 23, 2023

Looks like @premanandrao is Out of office.
I have already addressed his comments.
Are we OK to get this merged? @elizabethandrews @intel/llvm-gatekeepers

@jsji
Copy link
Contributor Author

jsji commented Aug 24, 2023

Thanks @premanandrao ! @intel/llvm-gatekeepers Can we get this merged? Thanks!

@aelovikov-intel aelovikov-intel merged commit 7b81485 into intel:sycl Aug 24, 2023
11 checks passed
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.

5 participants