1. Home
    2. Solutions
      1. Acoran IconAcoran

        Codeplay's Acoran platform integrates all the industry standard technologies needed to support a very wide range of AI and HPC software at extremely high performance.

      2. Silicon Enablement IconSilicon Enablement

        For chip companies that have designed their own AI accelerator, Codeplay provides all the software and custom services to integrate their AI chip with their customers' AI software.

      3. Ecosystem IconEcosystem

        Tools for accelerator processors in AI, HPC and graphics. Our open-source projects power everything from smartphone graphics to science on future Exascale supercomputers.

      4. Automotive IconAutomotive

        Codeplay brings functional safety, high performance and a familiar software development environment to Advanced Driver Assistance Systems (ADAS) and autonomous vehicles.

      5. oneAPI IcononeAPI

        oneAPI is a cross-industry, open, standards-based unified programming model that delivers a common developer experience across accelerator architecture.

      6. SYCL Training Icon SYCL Training

        For companies wishing to hire us to help train their teams with the knowledge and experience to build SYCL applications. Includes CUDA to SYCL porting programmes.

    3. News
      1. News IconNews

        Read the latest updates and news, directly from the team at Codeplay.

      2. Press Updates IconPress Updates

        A combined list of all our current and previous press-releases.

      3. Blogs IconBlogs

        Read blogs for our talented engineers at Codeplay and the industry at large.

    4. Company
      1. About Us IconAbout Us

        Learn about Codeplay, who we are, what we have done and view our timeline.

      2. Careers IconCareers

        Interested in joining our team? View all our current positions as well as tips to build a successful application.

      3. Management Team IconManagement Team

        Meet our senior management team along with our founder and CEO.

      4. Partners IconPartners

        See some of the companies, industry partners and standards bodies we have worked with.

      5. Press-Packs IconPress-Packs

        Download our press-packs containing logos and guides on how to use them.

      6. Contact Us IconContact Us

        Get in touch with us and we will help with any queries you have.

    5. Developer
    • Facebook Icon
    • Twitter Icon

Offload KB

Old Content Alert

Please note that this is a old document archive and the will most likely be out dated or superseded by various other products and is purely here for historical purposes.

Getting Started

  1. Custom Build Step

  2. Environment Variables

  3. Get Offload™

  4. Makefiles

  5. Visual Studio 2008

  6. Your First Offload Block

Getting Performance

  1. Aligning Data

  2. Compiler advice messages

  3. Data Locality

Offload Library

  1. -BEO[n]

  2. -BEspuL[opt]

  3. -BEspuopt:[opt]

  4. -cachesets=[n]

  5. -finline-limit=[n]

  6. -fno-access-control

  7. -ignoretrapwordonspu

  8. -memcpydmasize=[n]

  9. -minmemcpysize=[n]

  10. -nomemcpycacheflush

  11. -O[n]

  12. -ocdir [dir]

  13. -offloadshowptrcalls

  14. -outputoffloadcode

  15. -save-temps

  16. -showcallstackonduplerror

  17. -snvsips3

  18. -unroll-factor=[n]

  19. -warnonouterreadswrites

  20. __attribute__((no_dup))

  21. __blockingoffload

  22. __force_overlay

  23. __offload

  24. __outer

  25. __outer_call

  26. class Local<>

  27. class ReadArray<>

  28. class ReadWriteArray<>

  29. class WriteArray<>

  30. liboffload::constructs::thread

  31. liboffload::swcache::block_commit

  32. liboffload::swcache::block_invalidate

  33. liboffload::swcache::commit

  34. liboffload::swcache::flush

  35. liboffload::swcache::invalidate

  36. liboffload

  37. Offload1101

  38. Offload1108

  39. Offload1109

  40. Offload1115

  41. Offload1122

  42. Offload1201

  43. Offload1202

  44. Offload1203

  45. Offload1204

  46. Offload1205/2

  47. Offload1205

  48. Offload2000

  49. Offload2100

  50. Offload2200

  51. Offload2301

  52. Offload2302

  53. Offload2400

  54. Offload2401

  55. Offload3001

  56. Offload3005

  57. Offload3007

  58. Offload4000

  59. Offload4001

  60. Offload4002

  61. Offload4003

  62. Offload4105

  63. Offload4106

  64. Offload4107

  65. Offload4108

  66. OFFLOAD_VER

  67. offloadGetMaxThreads

  68. offloadGetSPUAlloc

  69. offloadGetUSleepTime

  70. offloadSetAllocator

  71. offloadSetFiberProcs

  72. offloadSetSPUAlloc

  73. offloadSetSPUPrios

  74. offloadSetSpurs

  75. offloadSetUSleepTime

  76. offloadShutdown

  77. offloadThread_t

  78. offloadThreadJoin

  79. offloadThreadJoinWithSleep

  80. offloadThreadTryJoin

  81. Outer Reads/Writes detection

  82. Overview

  83. PS3 SDK Function Overloads

  84. Reserved SDK Specifics

  85. Run-time Resource Usage

  86. Summary

  87. -warnouterthiscalls

FAQs

  1. __offload overloaded function not being called!

  2. DOMAIN_ENTRY_NOT_FOUND

  3. DOMAIN_ENTRY_NOT_FOUND_CALLED_DUP

  4. Function call within Offload block fails to link!

  5. How do I debug an Offload™ block?

  6. Inline Assembly

  7. Passing by value for performance

  8. Required Linker Libraries

  9. Calling virtual methods on the SPU

  10. Moving data definitions into Offload™ blocks

  11. What are Virtual Domains?

Case Studies

  1. Cache classes reduce code changes

  2. Caching instance data

  3. FunctionOffload - Part 1

  4. FunctionOffload - Part 2

  5. Introduction

  6. Offloading a simple method call

  7. Using SPA With Offload™

  8. Caching Pointer Arguments

Features

  1. __cp_typestringliteral

  2. Accessing Global Variables

  3. Call PPU functions from SPU

  4. Compiler Advice

  5. Helpful command line options

  6. Implicit Function Duplication

  7. Not in the way of Performance

  8. PPU virtual methods on SPU

  9. Structure Type Duplication

  10. The Software Cache

  11. Type Safe PPU and SPU pointers

  12. Using Altivec Instrinsics

  13. Using SPU Instrinsics

  14. VMX2SPU Engine

  15. __cp_numblockstatements

  16. __cp_numfuncstatements

  17. Job Functions

Codeplay Software Ltd
© Copyright Codeplay 2020
Company Registration (England & Wales) number: 04567874. Registered Office: Regent House, 316 Beulah Hill, London SE19 3HF

Useful Links

  • Developer Portal
  • Acoran Platform
  • SYCL Academy
  • SYCL.tech

Legal

  • Privacy Policy
  • Cookie Policy & Cookie Settings
  • GDPR

Support

  • Contact Us
  • Discourse
  • Twitter
  • Facebook