Code Monkey home page Code Monkey logo

Comments (5)

Sungwoo-Ahn avatar Sungwoo-Ahn commented on July 24, 2024

I just changed it at gpgpu-sim setup. Any discussions are welcome at any time.

from gpgpu-sim_distribution.

zhaojin1997 avatar zhaojin1997 commented on July 24, 2024

Hello, may I ask how you change the capability? PTX requires sm_19 or less, but I cannot change the capability, so I would like to ask you the following.Thank you.

from gpgpu-sim_distribution.

Sungwoo-Ahn avatar Sungwoo-Ahn commented on July 24, 2024

@zhaojin1997 I did it by changing gpgpu-dev/libcuda/cuda_runtime_api.cc from 5.2 to 7.0
I'm not sure if this is correct answer, but by running deviceQuery on 1_utilities in CUDA SDK, it seems to work.
I might be wrong so if you find it, I'm glad to be notified.

from gpgpu-sim_distribution.

zhaojin1997 avatar zhaojin1997 commented on July 24, 2024

Thank you very much for your advice. Your suggestion is very useful because it is the code in "cuda_runtime_apic.cc" that has a problem, not only does it not change the capability logically, but it also removes my PTX Section. However, it is puzzling that I have not changed any of the code. I still need to think about it. Thank you very much for your kind help.

from gpgpu-sim_distribution.

Michael-J-K94 avatar Michael-J-K94 commented on July 24, 2024

Hello :)
Does your solution means that changing this part in cuda_runtime_api.cc for older version?

struct _cuda_device_id *GPGPUSim_Init()
{
  static _cuda_device_id *the_device = NULL;
  if( !the_device ) {
    gpgpu_sim *the_gpu = gpgpu_ptx_sim_init_perf();

    cudaDeviceProp *prop = (cudaDeviceProp *) calloc(sizeof(cudaDeviceProp),1);
    snprintf(prop->name,256,"GPGPU-Sim_v%s", g_gpgpusim_version_string );
    prop->major = the_gpu->compute_capability_major();
    prop->minor = the_gpu->compute_capability_minor();

I think the latter part of the last two equation was originally 5 and 2,
but now has changed to read from the gpgpusim.config.

from gpgpu-sim_distribution.

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.