• OpenCL SDK

    Hello, I've been working on a parallel particle simulation using OpenCL. I've got to the point of writing documentation and need to link any potential users to the AMD OpenCL SDK. As per this thread and this thread, t...
    last modified by xorgon
  • OpenCL: "AMD HSA Code Object loading failed" in clBuildProgram on AMD Radeon RX 5700 XT

    Hi,   Developer of PTGui here (www.ptgui.com).   One of the users of my software has reported an error while building OpenCL kernels on a Radeon RX 5700 XT on Windows 10. clBuildProgram returns "AMD HSA Co...
    last modified by joostn
  • Why not ship the latest OpenCL ICD Loader?

    In order to enumerate OpenCL platforms in a system, the ICD loader is usually the best option because it allows a platform independent way of having multiple OpenCL implementations in the same system.   The Rade...
    last modified by tluisrs
  • AMD GPU OpenCL get wrong results while Nvidia correct

    Recently, I translated a CPU code into OpenCL, and it has been debugged and tested (using GTX1060). The calculating process of this code is an iteration process. The calculating results are presented in the form of re...
    last modified by huzhiyuan1994
  • clGgetDeviceIDs suddenly very slow

    We are currently developing an OpenCL application on Windows 10 (Visual Studio 2017) but have noticed that the OpenCL performance has recently degraded, with the call to clGetDeviceIDs now taking around 10 second...
    last modified by andyste1
  • How to abort clEnqueueWaitSignalAmd?

    We're developing software that uses a PCI data acquisition card to read blocks of data (records) from an external instrument. These records are transferred to a Radeon Pro WX7100 using "DirectGma", where a kernel proc...
    last modified by andyste1
  • Why did AMD decide to remove SPIR 1.2 support without adding SPIR-V?

    We have found, like many others, that the AMD GPU may report OpenCL 1.2 or even 2.0 support, with SPIR. However, that may not actually be the case. We're aware that you're looking into this, and will remove reported s...
    last modified by torbsorb
  • clLinkProgram crashes when trying to create program from bitcode file. An unhandled exception is thrown out from "amdocl12cl64.dll"

    I tried to create opencl program from bitcode file. I used clang to convert *.cl file to *.bc file by calling command clang -cc1 -emit-llvm-bc -triple spir64-unknown-unknown -cl-std=CL1.2 -cl-spir-compile-options "-c...
    last modified by cuijing
  • Heterogeneous toolchain for Windows?

    Good day,   I am currently running windows with OpenCL kernels across CPU(2990WX) and AMD GPU with C++17.   As AMD stopped support for OpenCL on CPU how can I adapt my tool-chain to still leverage the CPU ...
    last modified by genestoltz
  • Any details about Wave32 mode for OpenCL?

    Hi, is there any parameter that I can pass to clBuildProgram to enable wave32 compilation? Or it doesnt exist as a thing and there some kind of Wave32/Wave64 mode to be enabled? I have found string GPU_ENABLE_WAVE32_M...
    last modified by andru
  • Why I can't use buffers with 4GB?

    Hi, I'm using OpenCL on Windows 10 and a Radeon RX580 card (8GB VRAM). I tried to allocate two buffers with 4GB to use in a kernel, but at this size, all I get is 0.0. I double checked address bits and it is 64 and th...
    last modified by nightz85
  • Weird and incorrect code generated by legacy OpenCL 1.2 compiler

    While testing my assembler (CLRadeonExtender), I found bug in the legacy AMD OpenCL 1.2 compiler. Compiler adds weird instructions to code that should not be added. These instructions were added when compiler tries to...
    last modified by matszpk
  • Broken OpenCL drivers for RX5700

    Hello. I see many messages regarding wrong results that AMD RX 5700 cards producing. Those results are consistent (being WRONG) enough to pass statistical validation.   Why AMD being long-term and knowable corp...
    last modified by Raistmer
  • Offline compilation for gfx1010 crashes

    When I try to compile any OpenCL source for gfx1010, the test application crashes in one of the AMD driver DLLs. Tested with Adrenalin 19.7.1 and 19.7.3 on Windows 10 and Windows 7.   That's a crash report I am...
    last modified by timchist
  • Trouble with GDS reading and writing on Ellesmere GPU

    I am trying to use GDS on AMD RX 580. Listings are available here and on pastebin: LDS version Assembler kernel (works fine) https://pastebin.com/uakfSBBi GDS version Assembler kernel (works incorrectly) https://past...
    last modified by ktator
  • Why does device's opencl version using cl2.hpp shows a opencl 1.2 device while the SDK has opencl 2.0?

    when I get the cl::device info with CL_DEVICE_VERSION flag it shows I have a gpu compatible with opencl1.2 but it is in fact opencl 2.0 (the platform shows it is compatible with 2.1 and the Fiji has support for OpenCL...
    last modified by pontiacgtx*
  • How to compile offline with LLVM-8 for AMDPAL

    Dear community,   I am planning to ship a software using binary kernels with inline asm. Therefore I decided to go with LLVM based offline compile, since the buildin pal compiler can not handle this. Hereby it i...
    last modified by lolliedieb
  • re-ordering opencl

    I'd like to run this simple C-code in GPU with an OpenCL-kernel. Is is possible?   /* new re-order */ #include <stdio.h>   int main() {int a[15]={7,8,0,4,13,1,14,5,10,2,3,11,12,6,9};  int b[15];...
    last modified by christa_bln
  • What is going on with OpenCL and Ryzen?

    I like AMD and Ryzen for the sheer number of cores and horsepower it has, aside from other things, and I used to be able to see "AMD PARALLEL ACCELERATED PROCESSING UNIT, RYZEN 7 1700X" under my VRay tab render settin...
    last modified by zhubinator
  • Offline compilation for gfx906 not possible on a VM

    We used to compile our OpenCL code on a virtual machine without an AMD GPU by extracting all DLL files from AMD driver to a folder in PATH. This worked fine until at least Catalyst 17.8.2 and allowed us to compile bin...
    last modified by timchist