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

[vulkan] Vulkan runtime on Raspberry Pi 5 fails #8494

Open
r4stered opened this issue Dec 1, 2024 · 1 comment
Open

[vulkan] Vulkan runtime on Raspberry Pi 5 fails #8494

r4stered opened this issue Dec 1, 2024 · 1 comment
Assignees

Comments

@r4stered
Copy link

r4stered commented Dec 1, 2024

When running a basic test program, host_supports_target_device returns false, even though the rpi5 is advertised to have Vulkan 1.3 support.

Halide Version: v18.0.0
LLVM version: v18.1.8

vulkaninfo --summary output

vulkaninfo --summary
'DISPLAY' environment variable not set... skipping surface info
==========
VULKANINFO
==========

Vulkan Instance Version: 1.3.239


Instance Extensions: count = 19
-------------------------------
VK_EXT_acquire_drm_display             : extension revision 1
VK_EXT_acquire_xlib_display            : extension revision 1
VK_EXT_debug_report                    : extension revision 10
VK_EXT_debug_utils                     : extension revision 2
VK_EXT_direct_mode_display             : extension revision 1
VK_KHR_device_group_creation           : extension revision 1
VK_KHR_display                         : extension revision 23
VK_KHR_external_fence_capabilities     : extension revision 1
VK_KHR_external_memory_capabilities    : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2         : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2       : extension revision 1
VK_KHR_portability_enumeration         : extension revision 1
VK_KHR_surface                         : extension revision 25
VK_KHR_surface_protected_capabilities  : extension revision 1
VK_KHR_wayland_surface                 : extension revision 6
VK_KHR_xcb_surface                     : extension revision 6
VK_KHR_xlib_surface                    : extension revision 6

Instance Layers: count = 2
--------------------------
VK_LAYER_MESA_device_select Linux device selection layer 1.3.211  version 1
VK_LAYER_MESA_overlay       Mesa Overlay layer           1.3.211  version 1

Devices:
========
GPU0:
        apiVersion         = 1.2.255
        driverVersion      = 23.2.1
        vendorID           = 0x14e4
        deviceID           = 0x55701c33
        deviceType         = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU
        deviceName         = V3D 7.1.7
        driverID           = DRIVER_ID_MESA_V3DV
        driverName         = V3DV Mesa
        driverInfo         = Mesa 23.2.1-1~bpo12+rpt3
        conformanceVersion = 1.3.6.1
        deviceUUID         = 5fd8106e-741a-cafa-e080-fdb16cf11a80
        driverUUID         = 1698c6ef-161f-3213-5159-557202953ee9

Test program

#include <Halide.h>
#include <stdio.h>

using namespace Halide;

int main() {
    Target t = get_host_target();
    printf("Host target: %s\n", t.to_string().c_str());
    
    // Try to add Vulkan feature
    Target vulkan_target = t.with_feature(Target::Vulkan);
    printf("Vulkan target: %s\n", vulkan_target.to_string().c_str());
    
    // Check if this target is supported
    bool supported = host_supports_target_device(vulkan_target);
    printf("Vulkan target supported: %s\n", supported ? "yes" : "no");
    
    return 0;
}

Program output with debug

HL_DEBUG_CODEGEN=3 ./build/vulkan_test 
Host target: arm-64-linux-arm_dot_prod-arm_fp16
Vulkan target: arm-64-linux-arm_dot_prod-arm_fp16-vulkan
Creating new execution engine
Target triple: aarch64--linux-gnueabihf
JIT compiling shared runtime for arm-64-linux-arm_dot_prod-arm_fp16-jit-vulkan
JIT Compiling halide_buffer_copy
Function halide_buffer_copy is at 0x7ffec613ba94
JIT Compiling halide_buffer_copy_already_locked
Function halide_buffer_copy_already_locked is at 0x7ffec613b704
JIT Compiling halide_buffer_to_string
Function halide_buffer_to_string is at 0x7ffec613a448
JIT Compiling halide_cache_cleanup
Function halide_cache_cleanup is at 0x7ffec61383d4
JIT Compiling halide_can_reuse_device_allocations
Function halide_can_reuse_device_allocations is at 0x7ffec613a6d0
JIT Compiling halide_cond_broadcast
Function halide_cond_broadcast is at 0x7ffec6135538
JIT Compiling halide_cond_signal
Function halide_cond_signal is at 0x7ffec613620c
JIT Compiling halide_cond_wait
Function halide_cond_wait is at 0x7ffec61355f8
JIT Compiling halide_copy_to_device
Function halide_copy_to_device is at 0x7ffec613abfc
JIT Compiling halide_copy_to_host
Function halide_copy_to_host is at 0x7ffec613a7d0
JIT Compiling halide_current_time_ns
Function halide_current_time_ns is at 0x7ffec61343cc
JIT Compiling halide_debug_to_file
Function halide_debug_to_file is at 0x7ffec6137760
JIT Compiling halide_default_buffer_copy
Function halide_default_buffer_copy is at 0x7ffec613b6f0
JIT Compiling halide_default_device_and_host_free
Function halide_default_device_and_host_free is at 0x7ffec613b268
JIT Compiling halide_default_device_and_host_malloc
Function halide_default_device_and_host_malloc is at 0x7ffec613b0c8
JIT Compiling halide_default_device_crop
Function halide_default_device_crop is at 0x7ffec613bb60
JIT Compiling halide_default_device_detach_native
Function halide_default_device_detach_native is at 0x7ffec613b618
JIT Compiling halide_default_device_release_crop
Function halide_default_device_release_crop is at 0x7ffec613be04
JIT Compiling halide_default_device_slice
Function halide_default_device_slice is at 0x7ffec613bba8
JIT Compiling halide_default_device_wrap_native
Function halide_default_device_wrap_native is at 0x7ffec613b5d0
JIT Compiling halide_default_do_loop_task
Function halide_default_do_loop_task is at 0x7ffec61344a8
JIT Compiling halide_default_do_par_for
Function halide_default_do_par_for is at 0x7ffec61344cc
JIT Compiling halide_default_do_parallel_tasks
Function halide_default_do_parallel_tasks is at 0x7ffec6135f70
JIT Compiling halide_default_do_task
Function halide_default_do_task is at 0x7ffec613448c
JIT Compiling halide_default_error
Function halide_default_error is at 0x7ffec613418c
JIT Compiling halide_default_free
Function halide_default_free is at 0x7ffec61340f8
JIT Compiling halide_default_get_library_symbol
Function halide_default_get_library_symbol is at 0x7ffec61365a4
JIT Compiling halide_default_get_symbol
Function halide_default_get_symbol is at 0x7ffec6136550
JIT Compiling halide_default_load_library
Function halide_default_load_library is at 0x7ffec6136568
JIT Compiling halide_default_malloc
Function halide_default_malloc is at 0x7ffec61340d0
JIT Compiling halide_default_print
Function halide_default_print is at 0x7ffec6134434
JIT Compiling halide_default_semaphore_init
Function halide_default_semaphore_init is at 0x7ffec61360a8
JIT Compiling halide_default_semaphore_release
Function halide_default_semaphore_release is at 0x7ffec61360c4
JIT Compiling halide_default_semaphore_try_acquire
Function halide_default_semaphore_try_acquire is at 0x7ffec613557c
JIT Compiling halide_default_trace
Function halide_default_trace is at 0x7ffec6136740
JIT Compiling halide_device_and_host_free
Function halide_device_and_host_free is at 0x7ffec613afb0
JIT Compiling halide_device_and_host_free_as_destructor
Function halide_device_and_host_free_as_destructor is at 0x7ffec613b6d0
JIT Compiling halide_device_and_host_malloc
Function halide_device_and_host_malloc is at 0x7ffec613ae6c
JIT Compiling halide_device_crop
Function halide_device_crop is at 0x7ffec613bbf0
JIT Compiling halide_device_detach_native
Function halide_device_detach_native is at 0x7ffec613b4a4
JIT Compiling halide_device_free
Function halide_device_free is at 0x7ffec613ad58
JIT Compiling halide_device_free_as_destructor
Function halide_device_free_as_destructor is at 0x7ffec613ae5c
JIT Compiling halide_device_host_nop_free
Function halide_device_host_nop_free is at 0x7ffec613b6e0
JIT Compiling halide_device_malloc
Function halide_device_malloc is at 0x7ffec613aadc
JIT Compiling halide_device_release
Function halide_device_release is at 0x7ffec613a7b8
JIT Compiling halide_device_release_crop
Function halide_device_release_crop is at 0x7ffec613be5c
JIT Compiling halide_device_slice
Function halide_device_slice is at 0x7ffec613bcec
JIT Compiling halide_device_sync
Function halide_device_sync is at 0x7ffec613ac58
JIT Compiling halide_device_sync_global
Function halide_device_sync_global is at 0x7ffec613ad2c
JIT Compiling halide_device_wrap_native
Function halide_device_wrap_native is at 0x7ffec613b344
JIT Compiling halide_do_loop_task
Function halide_do_loop_task is at 0x7ffec613576c
JIT Compiling halide_do_par_for
Function halide_do_par_for is at 0x7ffec61364c4
JIT Compiling halide_do_parallel_tasks
Function halide_do_parallel_tasks is at 0x7ffec61364e0
JIT Compiling halide_do_task
Function halide_do_task is at 0x7ffec6135788
JIT Compiling halide_double_to_string
Function halide_double_to_string is at 0x7ffec6139d8c
JIT Compiling halide_error
Function halide_error is at 0x7ffec61342f8
JIT Compiling halide_error_access_out_of_bounds
Function halide_error_access_out_of_bounds is at 0x7ffec613c3ac
JIT Compiling halide_error_bad_dimensions
Function halide_error_bad_dimensions is at 0x7ffec613c308
JIT Compiling halide_error_bad_extern_fold
Function halide_error_bad_extern_fold is at 0x7ffec613d018
JIT Compiling halide_error_bad_fold
Function halide_error_bad_fold is at 0x7ffec613cf60
JIT Compiling halide_error_bad_type
Function halide_error_bad_type is at 0x7ffec613c220
JIT Compiling halide_error_bounds_inference_call_failed
Function halide_error_bounds_inference_call_failed is at 0x7ffec613bf88
JIT Compiling halide_error_buffer_allocation_too_large
Function halide_error_buffer_allocation_too_large is at 0x7ffec613c4b8
JIT Compiling halide_error_buffer_argument_is_null
Function halide_error_buffer_argument_is_null is at 0x7ffec613ccc8
JIT Compiling halide_error_buffer_extents_negative
Function halide_error_buffer_extents_negative is at 0x7ffec613c55c
JIT Compiling halide_error_buffer_extents_too_large
Function halide_error_buffer_extents_too_large is at 0x7ffec613c614
JIT Compiling halide_error_buffer_is_null
Function halide_error_buffer_is_null is at 0x7ffec613d4e8
JIT Compiling halide_error_constraint_violated
Function halide_error_constraint_violated is at 0x7ffec613c7f8
JIT Compiling halide_error_constraints_make_required_region_smaller
Function halide_error_constraints_make_required_region_smaller is at 0x7ffec613c6b8
JIT Compiling halide_error_debug_to_file_failed
Function halide_error_debug_to_file_failed is at 0x7ffec613cd38
JIT Compiling halide_error_device_crop_failed
Function halide_error_device_crop_failed is at 0x7ffec613d630
JIT Compiling halide_error_device_dirty_with_no_device_support
Function halide_error_device_dirty_with_no_device_support is at 0x7ffec613ce6c
JIT Compiling halide_error_device_interface_no_device
Function halide_error_device_interface_no_device is at 0x7ffec613d458
JIT Compiling halide_error_explicit_bounds_too_small
Function halide_error_explicit_bounds_too_small is at 0x7ffec613c108
JIT Compiling halide_error_extern_stage_failed
Function halide_error_extern_stage_failed is at 0x7ffec613c08c
JIT Compiling halide_error_fold_factor_too_small
Function halide_error_fold_factor_too_small is at 0x7ffec613d238
JIT Compiling halide_error_host_and_device_dirty
Function halide_error_host_and_device_dirty is at 0x7ffec613d4a0
JIT Compiling halide_error_host_is_null
Function halide_error_host_is_null is at 0x7ffec613cef0
JIT Compiling halide_error_no_device_interface
Function halide_error_no_device_interface is at 0x7ffec613d410
JIT Compiling halide_error_out_of_memory
Function halide_error_out_of_memory is at 0x7ffec613cca0
JIT Compiling halide_error_param_too_large_f64
Function halide_error_param_too_large_f64 is at 0x7ffec613cbfc
JIT Compiling halide_error_param_too_large_i64
Function halide_error_param_too_large_i64 is at 0x7ffec613cab4
JIT Compiling halide_error_param_too_large_u64
Function halide_error_param_too_large_u64 is at 0x7ffec613cb58
JIT Compiling halide_error_param_too_small_f64
Function halide_error_param_too_small_f64 is at 0x7ffec613ca10
JIT Compiling halide_error_param_too_small_i64
Function halide_error_param_too_small_i64 is at 0x7ffec613c8c8
JIT Compiling halide_error_param_too_small_u64
Function halide_error_param_too_small_u64 is at 0x7ffec613c96c
JIT Compiling halide_error_requirement_failed
Function halide_error_requirement_failed is at 0x7ffec613d338
JIT Compiling halide_error_specialize_fail
Function halide_error_specialize_fail is at 0x7ffec613d3b4
JIT Compiling halide_error_split_factor_not_positive
Function halide_error_split_factor_not_positive is at 0x7ffec613d678
JIT Compiling halide_error_storage_bound_too_small
Function halide_error_storage_bound_too_small is at 0x7ffec613d558
JIT Compiling halide_error_unaligned_host_ptr
Function halide_error_unaligned_host_ptr is at 0x7ffec613cddc
JIT Compiling halide_error_vscale_invalid
Function halide_error_vscale_invalid is at 0x7ffec613d7c8
JIT Compiling halide_float16_bits_to_double
Function halide_float16_bits_to_double is at 0x7ffec613bf70
JIT Compiling halide_float16_bits_to_float
Function halide_float16_bits_to_float is at 0x7ffec613bee0
JIT Compiling halide_fopen
Function halide_fopen is at 0x7ffec613a620
JIT Compiling halide_free
Function halide_free is at 0x7ffec6134170
JIT Compiling halide_get_gpu_device
Function halide_get_gpu_device is at 0x7ffec61366a0
JIT Compiling halide_get_library_symbol
Function halide_get_library_symbol is at 0x7ffec6136658
JIT Compiling halide_get_symbol
Function halide_get_symbol is at 0x7ffec6136620
JIT Compiling halide_get_trace_file
Function halide_get_trace_file is at 0x7ffec61370e4
JIT Compiling halide_host_cpu_count
Function halide_host_cpu_count is at 0x7ffec6134464
JIT Compiling halide_int64_to_string
Function halide_int64_to_string is at 0x7ffec6139d64
JIT Compiling halide_internal_aligned_alloc
Function halide_internal_aligned_alloc is at 0x7ffec6134074
JIT Compiling halide_internal_aligned_free
Function halide_internal_aligned_free is at 0x7ffec61340bc
JIT Compiling halide_internal_malloc_alignment
Function halide_internal_malloc_alignment is at 0x7ffec613a60c
JIT Compiling halide_join_thread
Function halide_join_thread is at 0x7ffec61361d8
JIT Compiling halide_load_library
Function halide_load_library is at 0x7ffec613663c
JIT Compiling halide_malloc
Function halide_malloc is at 0x7ffec6134154
JIT Compiling halide_memoization_cache_cleanup
Function halide_memoization_cache_cleanup is at 0x7ffec61383e4
JIT Compiling halide_memoization_cache_evict
Function halide_memoization_cache_evict is at 0x7ffec6139b90
JIT Compiling halide_memoization_cache_lookup
Function halide_memoization_cache_lookup is at 0x7ffec61393c8
JIT Compiling halide_memoization_cache_release
Function halide_memoization_cache_release is at 0x7ffec6139b0c
JIT Compiling halide_memoization_cache_set_size
Function halide_memoization_cache_set_size is at 0x7ffec6139380
JIT Compiling halide_memoization_cache_store
Function halide_memoization_cache_store is at 0x7ffec6139774
JIT Compiling halide_msan_annotate_buffer_is_initialized
Function halide_msan_annotate_buffer_is_initialized is at 0x7ffec613f4c8
JIT Compiling halide_msan_annotate_buffer_is_initialized_as_destructor
Function halide_msan_annotate_buffer_is_initialized_as_destructor is at 0x7ffec613f4dc
JIT Compiling halide_msan_annotate_memory_is_initialized
Function halide_msan_annotate_memory_is_initialized is at 0x7ffec613f48c
JIT Compiling halide_msan_check_buffer_is_initialized
Function halide_msan_check_buffer_is_initialized is at 0x7ffec613f4b4
JIT Compiling halide_msan_check_memory_is_initialized
Function halide_msan_check_memory_is_initialized is at 0x7ffec613f4a0
JIT Compiling halide_mutex_array_create
Function halide_mutex_array_create is at 0x7ffec6136280
JIT Compiling halide_mutex_array_destroy
Function halide_mutex_array_destroy is at 0x7ffec61362f4
JIT Compiling halide_mutex_array_lock
Function halide_mutex_array_lock is at 0x7ffec6136324
JIT Compiling halide_mutex_array_unlock
Function halide_mutex_array_unlock is at 0x7ffec6136344
JIT Compiling halide_mutex_lock
Function halide_mutex_lock is at 0x7ffec6134564
JIT Compiling halide_mutex_unlock
Function halide_mutex_unlock is at 0x7ffec6134f28
JIT Compiling halide_pointer_to_string
Function halide_pointer_to_string is at 0x7ffec613a1a0
JIT Compiling halide_print
Function halide_print is at 0x7ffec6134338
JIT Compiling halide_profiler_get_pipeline_state
Function halide_profiler_get_pipeline_state is at 0x7ffec613ecb4
JIT Compiling halide_profiler_get_state
Function halide_profiler_get_state is at 0x7ffec613d8d8
JIT Compiling halide_profiler_instance_end
Function halide_profiler_instance_end is at 0x7ffec613ef0c
JIT Compiling halide_profiler_instance_start
Function halide_profiler_instance_start is at 0x7ffec613ed04
JIT Compiling halide_profiler_lock
Function halide_profiler_lock is at 0x7ffec613ea3c
JIT Compiling halide_profiler_memory_allocate
Function halide_profiler_memory_allocate is at 0x7ffec613f130
JIT Compiling halide_profiler_memory_free
Function halide_profiler_memory_free is at 0x7ffec613f310
JIT Compiling halide_profiler_report
Function halide_profiler_report is at 0x7ffec613f400
JIT Compiling halide_profiler_report_unlocked
Function halide_profiler_report_unlocked is at 0x7ffec613d8f8
JIT Compiling halide_profiler_reset
Function halide_profiler_reset is at 0x7ffec613f438
JIT Compiling halide_profiler_reset_unlocked
Function halide_profiler_reset_unlocked is at 0x7ffec613e180
JIT Compiling halide_profiler_sample
Function halide_profiler_sample is at 0x7ffec613ebc4
JIT Compiling halide_profiler_shutdown
Function halide_profiler_shutdown is at 0x7ffec613d880
JIT Compiling halide_profiler_stack_peak_update
Function halide_profiler_stack_peak_update is at 0x7ffec613f098
JIT Compiling halide_profiler_unlock
Function halide_profiler_unlock is at 0x7ffec613ea4c
JIT Compiling halide_register_device_allocation_pool
Function halide_register_device_allocation_pool is at 0x7ffec613a6ec
JIT Compiling halide_release_jit_module
Function halide_release_jit_module is at 0x7ffec613f524
JIT Compiling halide_reuse_device_allocations
Function halide_reuse_device_allocations is at 0x7ffec613a630
JIT Compiling halide_semaphore_init
Function halide_semaphore_init is at 0x7ffec61364fc
JIT Compiling halide_semaphore_release
Function halide_semaphore_release is at 0x7ffec6136518
JIT Compiling halide_semaphore_try_acquire
Function halide_semaphore_try_acquire is at 0x7ffec6136534
JIT Compiling halide_set_custom_do_loop_task
Function halide_set_custom_do_loop_task is at 0x7ffec6136418
JIT Compiling halide_set_custom_do_par_for
Function halide_set_custom_do_par_for is at 0x7ffec613643c
JIT Compiling halide_set_custom_do_task
Function halide_set_custom_do_task is at 0x7ffec61363f4
JIT Compiling halide_set_custom_free
Function halide_set_custom_free is at 0x7ffec6134130
JIT Compiling halide_set_custom_get_library_symbol
Function halide_set_custom_get_library_symbol is at 0x7ffec61365fc
JIT Compiling halide_set_custom_get_symbol
Function halide_set_custom_get_symbol is at 0x7ffec61365b4
JIT Compiling halide_set_custom_load_library
Function halide_set_custom_load_library is at 0x7ffec61365d8
JIT Compiling halide_set_custom_malloc
Function halide_set_custom_malloc is at 0x7ffec613410c
JIT Compiling halide_set_custom_parallel_runtime
Function halide_set_custom_parallel_runtime is at 0x7ffec6136460
JIT Compiling halide_set_custom_print
Function halide_set_custom_print is at 0x7ffec6134354
JIT Compiling halide_set_custom_trace
Function halide_set_custom_trace is at 0x7ffec61375a4
JIT Compiling halide_set_error_handler
Function halide_set_error_handler is at 0x7ffec6134314
JIT Compiling halide_set_gpu_device
Function halide_set_gpu_device is at 0x7ffec6136674
JIT Compiling halide_set_num_threads
Function halide_set_num_threads is at 0x7ffec6136364
JIT Compiling halide_set_trace_file
Function halide_set_trace_file is at 0x7ffec6137500
JIT Compiling halide_shutdown_thread_pool
Function halide_shutdown_thread_pool is at 0x7ffec613613c
JIT Compiling halide_shutdown_trace
Function halide_shutdown_trace is at 0x7ffec613752c
JIT Compiling halide_sleep_us
Function halide_sleep_us is at 0x7ffec6134420
JIT Compiling halide_spawn_thread
Function halide_spawn_thread is at 0x7ffec6135f00
JIT Compiling halide_start_clock
Function halide_start_clock is at 0x7ffec6134378
JIT Compiling halide_string_to_string
Function halide_string_to_string is at 0x7ffec6139c88
JIT Compiling halide_thread_pool_cleanup
Function halide_thread_pool_cleanup is at 0x7ffec613612c
JIT Compiling halide_thread_yield
Function halide_thread_yield is at 0x7ffec613447c
JIT Compiling halide_trace
Function halide_trace is at 0x7ffec61375c8
JIT Compiling halide_trace_cleanup
Function halide_trace_cleanup is at 0x7ffec613751c
JIT Compiling halide_trace_helper
Function halide_trace_helper is at 0x7ffec61375e4
JIT Compiling halide_type_to_string
Function halide_type_to_string is at 0x7ffec613a39c
JIT Compiling halide_uint64_to_string
Function halide_uint64_to_string is at 0x7ffec6139cf0
JIT Compiling halide_use_jit_module
Function halide_use_jit_module is at 0x7ffec613f4ec
Looking for Vulkan support code...
Creating new execution engine
Target triple: aarch64--linux-gnueabihf
JIT compiling vulkan for arm-64-linux-arm_dot_prod-arm_fp16-jit-vulkan
JIT Compiling halide_memory_caching_name
Function halide_memory_caching_name is at 0x7ffec5fab244
JIT Compiling halide_memory_usage_name
Function halide_memory_usage_name is at 0x7ffec5faaa2c
JIT Compiling halide_memory_visibility_name
Function halide_memory_visibility_name is at 0x7ffec5fab200
JIT Compiling halide_release_jit_module
Function halide_release_jit_module is at 0x7ffec613f524
JIT Compiling halide_use_jit_module
Function halide_use_jit_module is at 0x7ffec613f4ec
JIT Compiling halide_vulkan_acquire_context
Function halide_vulkan_acquire_context is at 0x7ffec5fa6b58
JIT Compiling halide_vulkan_buffer_copy
Function halide_vulkan_buffer_copy is at 0x7ffec5fa5cd4
JIT Compiling halide_vulkan_cleanup
Function halide_vulkan_cleanup is at 0x7ffec5faef94
JIT Compiling halide_vulkan_compute_capability
Function halide_vulkan_compute_capability is at 0x7ffec5fa4074
JIT Compiling halide_vulkan_copy_to_device
Function halide_vulkan_copy_to_device is at 0x7ffec5fa55f4
JIT Compiling halide_vulkan_copy_to_host
Function halide_vulkan_copy_to_host is at 0x7ffec5fa4f58
JIT Compiling halide_vulkan_detach_vk_buffer
Function halide_vulkan_detach_vk_buffer is at 0x7ffec5fa6964
JIT Compiling halide_vulkan_device_and_host_free
Function halide_vulkan_device_and_host_free is at 0x7ffec5fa5cbc
JIT Compiling halide_vulkan_device_and_host_malloc
Function halide_vulkan_device_and_host_malloc is at 0x7ffec5fa5ca4
JIT Compiling halide_vulkan_device_crop
Function halide_vulkan_device_crop is at 0x7ffec5fa66e0
JIT Compiling halide_vulkan_device_free
Function halide_vulkan_device_free is at 0x7ffec5fa4830
JIT Compiling halide_vulkan_device_interface
Function halide_vulkan_device_interface is at 0x7ffec5fb70a8
JIT Compiling halide_vulkan_device_malloc
Function halide_vulkan_device_malloc is at 0x7ffec5fa42dc
JIT Compiling halide_vulkan_device_release
Function halide_vulkan_device_release is at 0x7ffec5fa4a80
JIT Compiling halide_vulkan_device_release_crop
Function halide_vulkan_device_release_crop is at 0x7ffec5fa6794
JIT Compiling halide_vulkan_device_slice
Function halide_vulkan_device_slice is at 0x7ffec5fa6754
JIT Compiling halide_vulkan_device_sync
Function halide_vulkan_device_sync is at 0x7ffec5fa4998
JIT Compiling halide_vulkan_finalize_kernels
Function halide_vulkan_finalize_kernels is at 0x7ffec5fb5398
JIT Compiling halide_vulkan_get_alloc_config
Function halide_vulkan_get_alloc_config is at 0x7ffec5fb302c
JIT Compiling halide_vulkan_get_allocation_callbacks
Function halide_vulkan_get_allocation_callbacks is at 0x7ffec5fa7f10
JIT Compiling halide_vulkan_get_build_options
Function halide_vulkan_get_build_options is at 0x7ffec5fb2ed8
JIT Compiling halide_vulkan_get_device_type
Function halide_vulkan_get_device_type is at 0x7ffec5fab7f8
JIT Compiling halide_vulkan_get_extension_names
Function halide_vulkan_get_extension_names is at 0x7ffec5fb2cec
JIT Compiling halide_vulkan_get_layer_names
Function halide_vulkan_get_layer_names is at 0x7ffec5fb2b70
JIT Compiling halide_vulkan_get_symbol
Function halide_vulkan_get_symbol is at 0x7ffec5fab9b4
JIT Compiling halide_vulkan_get_vk_buffer
Function halide_vulkan_get_vk_buffer is at 0x7ffec5fb7094
JIT Compiling halide_vulkan_initialize_kernels
Function halide_vulkan_initialize_kernels is at 0x7ffec5fb4724
JIT Compiling halide_vulkan_release_context
Function halide_vulkan_release_context is at 0x7ffec5fa7d30
JIT Compiling halide_vulkan_release_unused_device_allocations
Function halide_vulkan_release_unused_device_allocations is at 0x7ffec5faecec
JIT Compiling halide_vulkan_run
Function halide_vulkan_run is at 0x7ffec5fb54e4
JIT Compiling halide_vulkan_set_alloc_config
Function halide_vulkan_set_alloc_config is at 0x7ffec5fb2f94
JIT Compiling halide_vulkan_set_allocation_callbacks
Function halide_vulkan_set_allocation_callbacks is at 0x7ffec5fb46e4
JIT Compiling halide_vulkan_set_build_options
Function halide_vulkan_set_build_options is at 0x7ffec5fb2e40
JIT Compiling halide_vulkan_set_device_type
Function halide_vulkan_set_device_type is at 0x7ffec5fb2da8
JIT Compiling halide_vulkan_set_extension_names
Function halide_vulkan_set_extension_names is at 0x7ffec5fb2c54
JIT Compiling halide_vulkan_set_layer_names
Function halide_vulkan_set_layer_names is at 0x7ffec5fb2ad8
JIT Compiling halide_vulkan_wrap_vk_buffer
Function halide_vulkan_wrap_vk_buffer is at 0x7ffec5fa68e4
Adjusting refcount for module MainShared by 1
Adjusting refcount for module MainShared by 1
Adjusting refcount for module MainShared by -1
Adjusting refcount for module MainShared by 1
host_supports_device_api: saw error (VulkanMemoryAllocator: Unable to map region! Invalid memory range !
)
host_supports_device_api: saw error (Vulkan: Failed to map host pointer to device memory!
)
host_supports_device_api: copy_to_device() failed for with result=-15 for d=9 t=target(arm-64-linux-arm_dot_prod-arm_fp16-vulkan)
Adjusting refcount for module MainShared by 1
Adjusting refcount for module MainShared by -1
Adjusting refcount for module MainShared by -1
Vulkan target supported: no
@derek-gerstmann derek-gerstmann self-assigned this Dec 6, 2024
@derek-gerstmann
Copy link
Contributor

Thanks for reporting this! I'll try and get some hardware to try and see what's going wrong.

@derek-gerstmann derek-gerstmann changed the title Vulkan runtime on Raspberry Pi 5 fails [vulkan] Vulkan runtime on Raspberry Pi 5 fails Dec 6, 2024
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

No branches or pull requests

2 participants