We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CGCUDARuntime.h
preferred_type
1 parent ba0d351 commit fd80304Copy full SHA for fd80304
clang/lib/CodeGen/CGCUDARuntime.h
@@ -54,10 +54,15 @@ class CGCUDARuntime {
54
};
55
56
private:
57
+ LLVM_PREFERRED_TYPE(DeviceVarKind)
58
unsigned Kind : 2;
59
+ LLVM_PREFERRED_TYPE(bool)
60
unsigned Extern : 1;
61
62
unsigned Constant : 1; // Constant variable.
63
64
unsigned Managed : 1; // Managed variable.
65
66
unsigned Normalized : 1; // Normalized texture.
67
int SurfTexType; // Type of surface/texutre.
68
0 commit comments