MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / constructor

Method constructor

lib/compilers/nvcpp.ts:46–58  ·  view source on GitHub ↗
(info: PreliminaryCompilerInfo, env: CompilationEnvironment)

Source from the content-addressed store, hash-verified

44 }
45
46 constructor(info: PreliminaryCompilerInfo, env: CompilationEnvironment) {
47 super(info, env);
48
49 this.cuobjdump = this.compilerProps<string | undefined>(
50 'compiler.' + this.compiler.id + '.cuobjdump',
51 undefined,
52 );
53
54 this.deviceAsmParser = new SassAsmParser(this.compilerProps);
55 this.ptxParser = new PTXAsmParser(this.compilerProps);
56
57 this.compiler.supportsDeviceAsmView = true;
58 }
59
60 async nvdisasm(outputFilename: string, maxOutput: number) {
61 const disasmResult = await this.exec(unwrap(this.compiler.nvdisasm), ['-c', '-g', '-hex', outputFilename], {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected