set_freq platform.gpu
Component: cr-action:set_freq platform.gpu (v1.0.0)
Added by: gfursin (2019-10-16 07:57:21)
Authors: Grigori Fursin
License: BSD 3-clause (code) and CC BY-SA 4.0 (data)
Source: GitHub
Creation date: 2015-02-24 19:38:27
CID: 081173242a88bc94:89b5a0600f551cf3cr-action:set_freq platform.gpu  )

Sign up here to be notified when new results are reproduced or new CodeReef components are shared!

How to get and run stable version (under development):
  pip install codereef
  cr download module:platform.gpu --version=1.0.0 --all
  ck set_freq platform.gpu --help

How to get and run development version:
  pip install ck
  ck pull repo:ck-env
  ck set_freq platform.gpu --help

How to run from Python:
   import ck.kernel as ck

   r=ck.access({'action':'set_freq',
                'module_uoa':'platform.gpu',
                ... See JSON API below ...
               })
   if r['return']>0: return r
   ...
Info about the CK module with this action: platform.gpu
Workflow framework: CK
Development repository: ck-env
Module description: describing and detecting platform's GPU
Workflow:
API Python code: Link
JSON API:
        "    Input:  {
              (host_os)              - host OS (detect, if omitted)
              (os) or (target_os)    - OS module to check (if omitted, analyze host)

              (device_id)            - device id if remote (such as adb)

              (value) = \"max\" (default)
                        \"min\"
                        \"ondemand\"
                        int value
              (env)                  - current env to specialize freq (CK_GPU*)...
            }

    Output: {
              return       - return code =  0, if successful
                                         >  0, if error
              (error)      - error text if return > 0
            }

"
       


All versions:


Public comments

    Please log in to add your comment!


If you notice inapropriate content that should not be here, please report us as soon as possible and we will try to remove it within 48 hours!