Marcel Breyer
Marcel Breyer
Thanks for the detailed explanation. It works as intended with `set_write_back(false)`. I agree with you that copying isn't really optimal. But afaik I have to copy the vector because later...
Thanks for the detailed explanation. I guess I will use methode 2 then. (Maybe in C++20 the iterator case can be implemented more efficient using the new `std::contiguous_iterator` concept.) One...
Thanks for the fast reply. Changing the CMake file to: ``` cmake_minimum_required(VERSION 3.10) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules/") include("~/Programs/spack/opt/spack/linux-linuxmint19-zen/gcc-8.4.0/hipsycl-master-44bjhhamjo3w4k74hsanb73ulhc27now/lib/cmake/hipsycl-config.cmake") find_package(hipSYCL REQUIRED) project(LANGUAGES CXX) # create executable add_executable(prog main.cpp) add_sycl_to_target(TARGET prog) ``` Fixes...
``` $ ldd ./prog linux-vdso.so.1 (0x00007ffda8d5e000) libhipSYCL_cpu.so => /home/marcel/Programs/spack/opt/spack/linux-linuxmint19-zen/gcc-8.4.0/hipsycl-master-44bjhhamjo3w4k74hsanb73ulhc27now/lib/libhipSYCL_cpu.so (0x00007fab2986d000) libstdc++.so.6 => /home/marcel/Programs/gcc/lib64/libstdc++.so.6 (0x00007fab292b3000) libomp.so => /home/marcel/Programs/spack/opt/spack/linux-linuxmint19-zen/gcc-8.4.0/llvm-10.0.0-uxnrorpisttivegjr4eqshrdva3heg55/lib/libomp.so (0x00007fab29780000) libgcc_s.so.1 => /home/marcel/Programs/gcc/lib64/libgcc_s.so.1 (0x00007fab2909b000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fab28e7c000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fab28a8b000)...
Yes I installed hipSYCL back then when hipsycl@master still has been maintained. I'm installing the current hipsycl@stable now and will see if that changes things.
> Yes I installed hipSYCL back then when hipsycl@master still has been maintained. I'm installing the current hipsycl@stable now and will see if that changes things. I tried to install...
Sorry I completely forgot that issue.
@fodinabor Thanks after applying your patches I was able to successfully run my hello world example on an Intel GPU. @illuhad > This is not really necessary, you can build...
Ahh I didn't know that these values are standardized (if thought it is a more or less random value). It would be nice, if hipSYCL could map these values to...