GithubHelp home page GithubHelp logo

Comments (4)

bensander avatar bensander commented on August 11, 2024 1

from hip.

AlexeyAB avatar AlexeyAB commented on August 11, 2024

@bensander Thank you!

Yes, there are new instructions in GCN3 such as: Data-Parallel Primitives (DPP), ds_bpermute and ds_permute which can provide the functionality such as __shfl() and even more: http://gpuopen.com/amd-gcn-assembly-cross-lane-operations/

And yes, these instructions use only route of Local memory (LDS 8.6 TB/s), but don't actually use Local memory, this allows to achive ~51.6 TB/s:

They use LDS hardware to route data between the 64 lanes of a wavefront, but they don’t actually write to an LDS location.

But I can't find anything about ds_shuffle, not in gpuopen.com and not in GCN3 Instruction pdf:
https://github.com/olvaffe/gpu-docs/raw/master/amd-open-gpu-docs/AMD_GCN3_Instruction_Set_Architecture.pdf

What did you mean about ds_shuffle?

from hip.

bensander avatar bensander commented on August 11, 2024

from hip.

aditya4d1 avatar aditya4d1 commented on August 11, 2024

Hi @AlexeyAB
HIP provides AMD specific functionality for shfl, swzl

https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP/blob/developer-preview/include/hip/hcc_detail/hip_runtime.h#L324

from hip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.