Skip to content

Error: Kernel overall local size: 1024 exceeds maximum kernel allowed local size of: 256 #12

@MikeTheSnowman

Description

@MikeTheSnowman

I'm very new to aparapi, so please excuse me if this is a very easy fix.

My system:

  • OS: Windows 11
  • Java version: 19 (corretto-19)
  • GPU: Nvidia RTX 4090 (notebook)

When trying to build the example project I get the following error:

...
2024-05-19 23:40:23 DEBUG CorrMatrixHost:330 - Range: 2D(global:512x512 local:(derived)32x32)
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffae5cf3a8b, pid=31148, tid=35944
#
# JRE version: OpenJDK Runtime Environment Corretto-19.0.2.7.1 (19.0.2+7) (build 19.0.2+7-FR)
# Java VM: OpenJDK 64-Bit Server VM Corretto-19.0.2.7.1 (19.0.2+7-FR, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Problematic frame:
# C  [msvcrt.dll+0x53a8b]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Users\mike\IdeaProjects\aparapi-examples\hs_err_pid31148.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/corretto/corretto-19/issues/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
WARNING: Aparapi is running on an untested OpenCL platform version: OpenCL 3.0 CUDA 12.3.107
WARNING: Aparapi is running on an untested OpenCL platform version: OpenCL 3.0 
!!!!!!! Kernel overall local size: 1024 exceeds maximum kernel allowed local size of: 256 failed 
Process finished with exit code 1

Is there a recommendation on what I need to modify in the example project to get it to package?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions